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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Mar 31 09:40:22 PDT 2017


Issue #3005 has been updated by dcb.


Bundling is fine. I am guessing you would prefer to bundle by source code directory,
so all the problems found in one source code directory are in one bug report.

If you prefer, I can bundle by static analyser message, for example all out of range
array accesses. That might mean one bug report touches code in many source code directories.
I suspect that isn't so convenient for you.
 
BTW, two data points. I got to 210 bug reports in netBSD and 70 in freeBSD
before I gave up. DragonFlyBSD doesn't seem to have so many problems, but I plan 
to report the most serious bugs first.

I am using the static analyser cppcheck. It reports 440 errors, 1080 warnings
and 2370 style issues. Not all of those are worth fixing.

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

* 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