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
Parents
rS365043: pw: Fix terminal handling when setting a group password.
Branches
Unknown
Tags
Unknown