Bug 142097 - missing return statement in non-void function
missing return statement in non-void function
Product: Fedora
Classification: Fedora
Component: kdenetwork (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-12-07 05:36 EST by David Binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-07 07:57:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Binderman 2004-12-07 05:36:40 EST
Description of problem:

I just tried to compile package kdenetwork-3.3.0-5 from 
Redhat Fedora Core 3.

The compiler said

sambafile.cpp(206): warning #1011: missing return statement at end of
non-void function "SambaFile::slotApply"

The source code is

    connect( job, SIGNAL( result( KIO::Job * ) ),
             this, SLOT( slotSaveJobFinished ( KIO::Job * ) ) );


I agree with the compiler. This code would benefit from adding a return
statement at the end of the routine.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Ngo Than 2004-12-07 07:57:28 EST
it's now fixed in kdenetwork-3.3.2-0.2. Thanks for your report.

Note You need to log in before you can comment on or make changes to this bug.