]> git.cameronkatri.com Git - pw-darwin.git/commit
pw: Remove unnecessary errp checks.
authorMark Johnston <markj@FreeBSD.org>
Tue, 1 Sep 2020 15:14:26 +0000 (15:14 +0000)
committerMark Johnston <markj@FreeBSD.org>
Tue, 1 Sep 2020 15:14:26 +0000 (15:14 +0000)
commit724a328b73087291a6f92c06edd19be0c8b2491f
tree4b417c4694152b6c2d952ac3e6a84098066e33e5
parentabe4cfb72aae79bc01f624c9b75e5e2c048e17be
pw: Remove unnecessary errp checks.

The caller-supplied pointer is unconditionally dereferenced at the
beginning of the function, so there is no point in comparing it with
NULL thereafter.

Reported by: Coverity
MFC after: 1 week
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
pw/strtounum.c