[Bug 371303] New: libcdio-0.79-5: missing return statement
https://bugzilla.novell.com/show_bug.cgi?id=371303 Summary: libcdio-0.79-5: missing return statement Product: openSUSE 11.0 Version: Alpha 2 Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile the package libcdio-0.79-5 with the GNU C compiler. The compiler said ./../include/cdio++/iso9660.hpp:141: warning: no return statement in function returning non-void The source code is const Stat& operator= (const Stat& right) { free(p_stat); this->p_stat = right.p_stat; } I agree with the compiler. Suggest code rework. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371303
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=371303
User pgajdos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371303#c1
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=371303
User pgajdos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371303#c2
Petr Gajdos
participants (1)
-
bugzilla_noreply@novell.com