[Bug 432984] New: pcp-2.5.0-102: 3 * ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=432984 Summary: pcp-2.5.0-102: 3 * ordered comparison of pointer with integer zero Product: openSUSE 11.1 Version: Factory 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 Suse Linux package pcp-2.5.0-102 and the compiler said mounts.c:263: warning: ordered comparison of pointer with integer zero The source code is if ((fd = fopen(MOUNT_FILE, "r")) > 0) { Suggest replace with if ((fd = fopen(MOUNT_FILE, "r")) != 0) { Similar fun & games with proc_interrupts.c:78: warning: ordered comparison of pointer with integer zero process.c:258: warning: ordered comparison of pointer with integer zero -- 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=432984 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |rw@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.
https://bugzilla.novell.com/show_bug.cgi?id=432984 Raymund Will <rw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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