Mailinglist Archive: opensuse-bugs (14244 mails)

< Previous Next >
[Bug 432987] New: ptpd-1-38: ordered comparison of pointer with integer zero
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 7 Oct 2008 05:16:58 -0600 (MDT)
  • Message-id: <bug-432987-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=432987


Summary: ptpd-1-38: 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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just tried to compile Suse Linux package ptpd-1-38
and the compiler said

dep/net.c:396: warning: ordered comparison of pointer with integer zero

The source code is

if(timeout < 0)
return FALSE;

Suggest replace with

if (timeout == 0)
return FALSE;


--
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.

< Previous Next >
Follow Ups