[Bug 218755] New: sisctrl-0.0.20051202-28: missing return expression
https://bugzilla.novell.com/show_bug.cgi?id=218755 Summary: sisctrl-0.0.20051202-28: missing return expression Product: openSUSE 10.2 Version: Beta 1 plus Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package sisctrl-0.0.20051202-28 with the GNU C compiler. It said src/sisctrl_gui.c:5888: warning: 'return' with no value, in function returning non-void The source code is static gboolean vi_layout_configure(GtkWidget *widget, GdkEventExpose *event, gpointer data) { /*fprintf(stderr, "conf\n");*/ if(gl.noxvdemo) return TRUE; if(gui.notebook_page != SIS_PAGE_VIDEO) return; Suggest add expression to return statement. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=218755 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sndirsch@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=218755 ------- Comment #1 from sndirsch@novell.com 2006-11-07 09:37 MST ------- Which expression? FALSE? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=218755 ------- Comment #2 from sndirsch@novell.com 2006-11-07 09:49 MST ------- Looks like it should be always FALSE in this function (vi_layout_configure) whereas it is always TRUE in vi_layout_configure2 ^ -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=218755 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from sndirsch@novell.com 2006-11-07 09:50 MST ------- fixed for STABLE/Factory. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com