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:
parent
7c6fe0735d
commit
c034050bba
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue