[Bug 432619] New: opencdk-0.6.4-6: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=432619 Summary: opencdk-0.6.4-6: 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 opencdk-0.6.4-6 and the compiler said t-key.c:144: warning: ordered comparison of pointer with integer zero The source code is if (n > 0) Suggest replace with if (n != 0) -- 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=432619 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mkoenig@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=432619 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=432619#c1 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Matthias Koenig <mkoenig@novell.com> 2008-10-07 08:49:07 MDT --- Actually the comparison can be removed completely since the forever loop right before only breaks if(!n). So n is always 0 in this place and the comparison is useless. -- 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=432619 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=432619#c2 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Matthias Koenig <mkoenig@novell.com> 2008-10-07 08:51:31 MDT --- Fixed in STABLE. -- 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