Project

General

Profile

Actions

Bug #3005

closed

usr.bin/window/ttzentec.c:59: suspicious condition ?

Added by dcb over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/31/2017
Due date:
% Done:

0%

Estimated time:

Description

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)
Actions #1

Updated by dillon over 7 years ago

OK, this is getting a little annoying ... having to deal with individual bug reports for this static analysis output.

Could you BUNDLE multiple issues into fewer bug reports? Like five or so per bug report? Or even more? I don't mind going through them, particularly stuff related to active kernel code, but most of these issues do not involve active kernel code so lets make it a bit less onerous by bundling the bugs together into fewer submissions.

-Matt

Actions #2

Updated by dcb over 7 years ago

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.

Actions #3

Updated by dillon over 7 years ago

You don't have to group by directory or anything like that. Just group in blocks ... well, with that many, group in blocks of 10 errors or so. Even more.

We need them bundled in a way where in our spare time we can whack one of the bug reports without spending too much time on it, then close it and move on.

-Matt

Actions #4

Updated by dillon over 7 years ago

  • Status changed from New to Closed

Fix committed by Matt

Actions

Also available in: Atom PDF