Red Hat Bugzilla – Bug 142097
missing return statement in non-void function
Last modified: 2007-11-30 17:10:56 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):
Steps to Reproduce:
it's now fixed in kdenetwork-3.3.2-0.2. Thanks for your report.