[Bug 341385] New: vlock-1.4-19: missing expression in return statement
https://bugzilla.novell.com/show_bug.cgi?id=341385 Summary: vlock-1.4-19: missing expression in return statement Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 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 package vlock-1.4-19 The compiler said sysrq.c:32: warning: 'return' with no value, in function returning non-void sysrq.c:53: warning: 'return' with no value, in function returning non-void The source code is int disable_sysrq(void) { sysrq_file = fopen(SYSRQ_PATH, "r+"); if (!sysrq_file) { fprintf(stderr, "Warning: couldn't open '%s': %s\n", SYSRQ_PATH, strerror(errno)); 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.
https://bugzilla.novell.com/show_bug.cgi?id=341385
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=341385
User prusnak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=341385#c1
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=341385
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=341385#c2
David Binderman
Vlock will be updated to 2.x series soon as 1.x is dead now.
Soon ? I just checked the latest version and some fifteen months later, it's still at version 1.4-82.29. Suggest either upgrade the package to 2.x or fix 1.4. -- 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.
participants (1)
-
bugzilla_noreply@novell.com