[Bug 432614] New: nagios-plugins-1.4.11-57: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=432614 Summary: nagios-plugins-1.4.11-57: 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 nagios-plugins-1.4.11-57 and the compiler said utils_base.c:108: warning: ordered comparison of pointer with integer zero The source code is if (*my_thresholds > 0) { /* Not sure why, but sometimes could be -1 */ Suggest replace with if (*my_thresholds != 0) { /* Not sure why, but sometimes could be -1 */ -- 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=432614 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |thomas.siedentopf@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.
participants (1)
-
bugzilla_noreply@novell.com