HomeFreeBSD

zfs: Disable -Wunused-but-set-variable for a few files in zstd.

Description

zfs: Disable -Wunused-but-set-variable for a few files in zstd.

FSE_createCTable raises the warning because we stub out malloc() to
NULL in the kernel, so the passed in size is unused.

ZSTD_seqDecompressedSize has a variable whose value is only used in
assertions.

NB: These files are missing corresponding entries in sys/conf/files.

Details

Provenance
jhbAuthored on Apr 8 2022, 12:01 AM
Parents
rG0768536d19c7: vmci: Remove unused variables.
Branches
Unknown
Tags
Unknown