[Bug 440142] New: lirc-0.8.4-1.5: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=440142 Summary: lirc-0.8.4-1.5: 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 lirc-0.8.4-1.5 and the compiler said hw_commandir.c:1258: warning: ordered comparison of pointer with integer zero The source code is if(open_commandir_devices[tx_order[i]].cmdir_udev > 0) The code is broken. Suggest code rework. Maybe if(open_commandir_devices[tx_order[i]].cmdir_udev != 0) Similar fun & games at lines 1278 and 1293 in the same file. -- 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=440142
Michal Seben
https://bugzilla.novell.com/show_bug.cgi?id=440142
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440142#c1
Ludwig Nussel
participants (1)
-
bugzilla_noreply@novell.com