[Bug 201728] usr/src/usr.bin/ipcs/ipcs.c: 3 * bad if ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 21 06:59:26 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201728
Bug ID: 201728
Summary: usr/src/usr.bin/ipcs/ipcs.c: 3 * bad if ?
Product: Base System
Version: 10.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: freebsd-bugs at FreeBSD.org
Reporter: dcb314 at hotmail.com
1.
[usr/src/usr.bin/ipcs/ipcs.c:227]: (style) Expression is always false because
'else if' condition matches previous condition at line 198.
Source code is
if ((display & (MSGINFO | MSGTOTAL))) {
...
} else
if (display & (MSGINFO | MSGTOTAL)) {
2.
[usr/src/usr.bin/ipcs/ipcs.c:262]: (style) Expression is always false because
'else if' condition matches previous condition at line 234.
3.
[usr/src/usr.bin/ipcs/ipcs.c:299]: (style) Expression is always false because
'else if' condition matches previous condition at line 269.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list