![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=227455 Summary: libapr1-1.2.7-23: 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 compile package libapr1-1.2.7-23 The compiler said strings/apr_snprintf.c:1261: warning: comparison with string literal The source code is if (prefix_char != NUL && s != S_NULL && s != char_buf) { but #define S_NULL "(null)" Suggest new code if (prefix_char != NUL && (strcmp( s, S_NULL) != 0) && s != char_buf) { -- 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.