NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50884: src/usr.sbin/isdn/isdnd/log.c:165]: (style) Redundant condition:
>Number: 50884
>Category: bin
>Synopsis: src/usr.sbin/isdn/isdnd/log.c:165]: (style) Redundant condition:
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 02 18:05:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160302
>Organization:
>Environment:
>Description:
[src/usr.sbin/isdn/isdnd/log.c:165]: (style) Redundant condition: debug_noscreen. '!debug_noscreen || (debug_noscreen && what!=4)' is equivalent to '!debug_noscreen || what!=4'
Source code is
if ((do_fullscreen && curses_ready) &&
((!debug_noscreen) || (debug_noscreen && (what != LL_DBG))))
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index