NetBSD-Bugs archive

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

kern/50883: src/sys/fs/efs/efs_vnops.c:625]: (style) Redundant condition:



>Number:         50883
>Category:       kern
>Synopsis:       src/sys/fs/efs/efs_vnops.c:625]: (style) Redundant condition:
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 02 18:05:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160302
>Organization:
>Environment:
>Description:
[src/sys/fs/efs/efs_vnops.c:625]: (style) Redundant condition: found. '!found || (found && ret==0)' is equivalent to '!found || ret==0'

Source code is

    KASSERT(!found || (found && ret == 0));

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index