Mailinglist Archive: opensuse-bugs (8045 mails)
| < Previous | Next > |
[Bug 231197] New: hypermail-2.2.0-40: comparison with string literal
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Sun, 31 Dec 2006 06:33:53 -0700 (MST)
- Message-id: <bug-231197-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=231197
Summary: hypermail-2.2.0-40: comparison with string literal
Product: openSUSE 10.3
Version: unspecified
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 compile package hypermail-2.2.0-40
The compiler said
msg2archive.c:289: warning: comparison with string literal
The source code is
if(cmd == NULL || cmd == "")
I agree with the compiler. Suggest new code
if(cmd == NULL || cmd[ 0] == 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.
Summary: hypermail-2.2.0-40: comparison with string literal
Product: openSUSE 10.3
Version: unspecified
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 compile package hypermail-2.2.0-40
The compiler said
msg2archive.c:289: warning: comparison with string literal
The source code is
if(cmd == NULL || cmd == "")
I agree with the compiler. Suggest new code
if(cmd == NULL || cmd[ 0] == 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 > |