NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/51776: src/sys/dev/raidframe/rf_reconmap.c:332]: (style) Variable 'numRUs' is modified but its new value is never used.
>Number: 51776
>Category: kern
>Synopsis: src/sys/dev/raidframe/rf_reconmap.c:332]: (style) Variable 'numRUs' is modified but its new value is never used.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 04 09:50:00 +0000 2017
>Originator: David Binderman
>Release: cvs-20161231
>Organization:
>Environment:
>Description:
$ fgrep numRUs src/sys/dev/raidframe/rf_reconmap.c
RF_ReconUnitCount_t numRUs;
numRUs = mapPtr->sectorsInDisk / mapPtr->sectorsPerReconUnit;
numRUs++;
$
Suggest either use the local variable or delete it.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index