HomeFreeBSD

Don't error out on unused but set variables with clang 13

Description

Don't error out on unused but set variables with clang 13

Clang 13.0.0 now has a -Wunused-but-set-variable warning similar to the
one gcc has had for quite a while. Since this triggers *very* often for
our kernel builds, don't make it a hard error, but leave the warning
visible so is some incentive to fix the instances.

(cherry picked from commit 395d46caaed73228b84dfaeb37c702304a46ba8f)

Details

Provenance
dimAuthored on Aug 29 2021, 1:53 PM
Parents
R10:d747e9d2cb50: Cirrus-CI: reduce VM memory to 8G
Branches
Unknown
Tags
Unknown