HomeFreeBSD

zfs: Disable -Wunused-variable for environ in main in zfs_main.c.

Description

zfs: Disable -Wunused-variable for environ in main in zfs_main.c.

There is an extern declaration of the global variable environ (which
has no portable header that defines it) that is unused on FreeBSD due
to zfs_setproctitle_init() being a stub.

Reviewed by: emaste
Reported by: GCC
Differential Revision: https://reviews.freebsd.org/D38231

Details

Provenance
jhbAuthored on Jan 30 2023, 5:31 PM
Reviewer
emaste
Differential Revision
D38231: zfs: Disable -Wunused-variable for environ in main in zfs_main.c.
Parents
rG2058f075b4af: cpuset: Handle CPU_WHICH_TIDPID wherever cpuset_which() is called.
Branches
Unknown
Tags
Unknown