cmake/clang: Disable -Wunused-but-set-variable warnings

Not sure why this is needed for this branch, but it pretty clearly is --
there are hundreds of set-but-unused variables in the codebase.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2022-04-27 22:07:48 -07:00 committed by Stephanos Ioannidis
parent 7c6fe0735d
commit c034050bba

View file

@ -27,6 +27,7 @@ set_compiler_property(PROPERTY warning_base
-Wformat-security
-Wno-format-zero-length
-Wno-main
-Wno-unused-but-set-variable
-Wno-typedef-redefinition
)