NetBSD-Bugs archive

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

bin/50974: src/sbin/fsck_lfs/setup.c:447 set but not used ?



>Number:         50974
>Category:       bin
>Synopsis:       src/sbin/fsck_lfs/setup.c:447 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:35:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160317
>Organization:
>Environment:
>Description:

[src/sbin/fsck_lfs/setup.c:447]: (style) Variable 'bmapsize' is assigned a value that is never used.


Source code is

    bmapsize = maxfsblock * sizeof(ino_t);


Suggest either use the variable or delete it.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index