[DragonFlyBSD - Bug #3005] (Closed) usr.bin/window/ttzentec.c:59: suspicious condition ?

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Apr 10 21:51:09 PDT 2017


Issue #3005 has been updated by dillon.

Status changed from New to Closed

Fix committed by Matt

----------------------------------------
Bug #3005: usr.bin/window/ttzentec.c:59: suspicious condition ?
http://bugs.dragonflybsd.org/issues/3005#change-13120

* Author: dcb
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
usr.bin/window/ttzentec.c:59]: (warning) Result of operator '|' is always true if one operand is non-zero. Did you intend to use '&'?

Source code is

    if (tt.tt_availmodes | WWM_GRP)




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list