]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't error out on unused but set variables with clang 13
authorDimitry Andric <dim@FreeBSD.org>
Sun, 29 Aug 2021 13:53:40 +0000 (15:53 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 2 Sep 2021 21:53:18 +0000 (23:53 +0200)
commitd01fe93c3dc9ea2157e9602e5ec9464a6b8a100f
tree35dc44732dcb6ab6927046f3d8e1d9453bd2e441
parentd747e9d2cb5091fa5b87d6801a6a9e0502886127
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)
sys/conf/kern.mk