HomeFreeBSD

pw: Remove unnecessary errp checks.

Description

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.

Details

Provenance
markjAuthored on Sep 1 2020, 3:14 PM
Parents
rG79c8ad83687c: pw: Fix terminal handling when setting a group password.
Branches
Unknown
Tags
Unknown

Event Timeline