NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/50973: src/sbin/fsck_lfs/lfs.c:291: set but not used ?



>Number:         50973
>Category:       bin
>Synopsis:       src/sbin/fsck_lfs/lfs.c:291: set but not used ?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 17 17:30:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160317
>Organization:
>Environment:
>Description:
[src/sbin/fsck_lfs/lfs.c:291]: (style) Variable 'blockcnt' is assigned a value that is never used.


Source code is

    blockcnt = (int64_t) 1 << lbc;

Suggest either use the variable or delete it.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index