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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Mar 31 06:04:22 PDT 2017


Issue #3005 has been reported by dcb.

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

* Author: dcb
* Status: New
* 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