Mailinglist Archive: opensuse-bugs (8031 mails)

< Previous Next >
[Bug 226380] New: icecast-2.3.1-39: comparison with string literal
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 6 Dec 2006 04:38:55 -0700 (MST)
  • Message-id: <bug-226380-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=226380

Summary: icecast-2.3.1-39: comparison with string literal
Product: openSUSE 10.2
Version: RC 5
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx


I just tried to build the package icecast-2.3.1-39

I got the following warning message from the compiler.

cfgfile.c:162: warning: comparison with string literal

The source code is

if (c->location && c->location != CONFIG_DEFAULT_LOCATION)

I agree with the compiler. Maybe the programmer intended

if (c->location && strcmp( c->location, CONFIG_DEFAULT_LOCATION))


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

< Previous Next >