https://bugzilla.novell.com/show_bug.cgi?id=226874 Summary: katapult-0.3.1.4-10: 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@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to build the package katapult-0.3.1.4-10 I got the following warning message from the compiler. /katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp:176: warning: comparison with string literal The source code is if(files.count() > 1 || files.at(0)->className() == "Directory") Maybe the programmer intended if(files.count() > 1 || (strcmp( files.at(0)->className(), "Directory") == 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.