Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 19:06:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217879] couple of cppcheck findings
Message-ID:  <bug-217879-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217879

            Bug ID: 217879
           Summary: couple of cppcheck findings
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: chipitsine@gmail.com

Created attachment 180914
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180914&action=
=3Dedit
patch related to this issue

cppcheck findings on UFS code (patch attached)

[sys/ufs/ffs/ffs_softdep.c:1133] -> [sys/ufs/ffs/ffs_softdep.c:1135]: (warn=
ing)
Either the condition 'wk=3D=3DNULL' is redundant or there is possible null =
pointer
dereference: wk.
[sys/ufs/ffs/ffs_softdep.c:8383] -> [sys/ufs/ffs/ffs_softdep.c:8385]: (warn=
ing)
Either the condition 'wk=3D=3DNULL' is redundant or there is possible null =
pointer
dereference: wk.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217879-8>