[Bug 513038] New: gdl-2.27.2-2.2: 'return' with no value, in function returning non-void
http://bugzilla.novell.com/show_bug.cgi?id=513038 Summary: gdl-2.27.2-2.2: 'return' with no value, in function returning non-void Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 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 build Factory package gdl-2.27.2-2.2 and the build said gdl-dock-item.c:1802:5: warning: 'return' with no value, in function returning non-void The source code is g_return_if_fail (item != NULL); I agree with the compiler. Suggest code rework. Maybe g_return_val_if_fail (item != NULL, NULL); might work. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=513038
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=513038
User bili@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=513038#c1
Li Bin
participants (1)
-
bugzilla_noreply@novell.com