HomeFreeBSD

libc/gen/getgrent.c: plug warnings about write-only variables

Description

libc/gen/getgrent.c: plug warnings about write-only variables

The variables clang13 complains about take the results of var_arg() calls.
I decided to kept variables around, annotating their definitions with
__unused, to keep clear expected types of the varargs.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Nov 28 2021, 2:46 AM
Parents
rG5d21348dfd95: rc.subr.8: Document changes to load_rc_config
Branches
Unknown
Tags
Unknown