[Bug 434617] New: gnome-games-2.22.1.1-27: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=434617 Summary: gnome-games-2.22.1.1-27: 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: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile Suse Linux package gnome-games-2.22.1.1-27 and the compiler said playerlist.c:235: warning: ordered comparison of pointer with integer zero The source code is if (table <= 0) { Suggest replace with if (table == 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=434617
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434617#c1
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=434617
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434617#c2
--- Comment #2 from David Binderman
Its odd, but harmless.
Not technically IMHO 100% accurate. According to my reading of the C standard, == and != are the only compares that make sense against 0.
David, I suggest you file these bugs directly in bugzilla.gnome.org.
That won't be happening anytime soon. However, feel free to file them, if you wish. -- 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