NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/50926: src/sys/dev/ic/arn5008.c:2023]: (style) Suspicious condition
>Number: 50926
>Category: kern
>Synopsis: src/sys/dev/ic/arn5008.c:2023]: (style) Suspicious condition
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 09 12:40:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160308
>Organization:
>Environment:
>Description:
src/sys/dev/ic/arn5008.c:2023]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
Source code is
if ((iq_corr_neg = cal->iq_corr_meas < 0))
That could be tidier.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index