[Bug 439326] New: gpsdrive-2.10pre4-89.6: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=439326 Summary: gpsdrive-2.10pre4-89.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 build the Suse Linux package gpsdrive-2.10pre4-89.6 and the compiler said gpsdrive_config.c:292: warning: ordered comparison of pointer with integer zero The source code is while ((fgets (buf, 1000, fp)) > 0) Suggest replace with while ((fgets (buf, 1000, fp)) != 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=439326
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=439326
User jreuter@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=439326#c1
Joerg Reuter
participants (1)
-
bugzilla_noreply@novell.com