Bug 225435 - dar-2.2.5-25: comparison with string literal
Summary: dar-2.2.5-25: comparison with string literal
Status: RESOLVED DUPLICATE of bug 233655
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: RC 5
Hardware: All SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-01 17:47 UTC by David Binderman
Modified: 2008-07-09 06:34 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-12-01 17:47:47 UTC
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)
Comment 1 Stefan Dirsch 2007-01-16 22:30:33 UTC
Feel free to close as duplicate of Bug #233655.
Comment 2 Adrian Schröter 2008-07-09 06:34:11 UTC
thank you Stefan

*** This bug has been marked as a duplicate of bug 233655 ***