Mailinglist Archive: opensuse-bugs (7763 mails)

< Previous Next >
[Bug 225435] New: dar-2.2.5-25: comparison with string literal
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 1 Dec 2006 10:47:47 -0700 (MST)
  • Message-id: <bug-225435-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=225435

Summary: dar-2.2.5-25: comparison with string literal
Product: openSUSE 10.2
Version: RC 5
Platform: All
OS/Version: SuSE Linux 10.1
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 dar-2.2.5-25

I got the following warning message from the compiler.

./dar_suite/dar_suite.cpp:61: warning: comparison with string literal

The source code is

if(DAR_LOCALEDIR != "")

Perhaps the programmer intended

if( strcmp( DAR_LOCALEDIR, "") != 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.

< Previous Next >
Follow Ups