[Bug 226477] New: jhead-2.6-10: comparison with string literal
https://bugzilla.novell.com/show_bug.cgi?id=226477 Summary: jhead-2.6-10: comparison with string literal Product: openSUSE 10.2 Version: RC 5 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to build the package jhead-2.6-10 I got the following warning message from the compiler. jhead.c:823: warning: comparison with string literal The source code is if (OutFileName != "-"){ I agree with the compiler. Maybe the programmer intended if (strcmp( OutFileName, "-") != 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226477 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sbrabec@novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226477 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from prusnak@novell.com 2006-12-16 04:22 MST ------- Fixed and reported upstream -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com