mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 18:45:25 +00:00
build: disable clang's tautological compare warnings
This silences two non issues in the client.c file. Fixing them as clang would want us to, would introduce security bugs and potential crashes.
This commit is contained in:
parent
2705c66799
commit
8009646583
@ -25,6 +25,8 @@ def __add_gcc_flags__(ctx):
|
||||
"-Wno-switch", "-Wno-parentheses", "-Wpointer-arith",
|
||||
"-Wredundant-decls", "-Wno-pointer-sign",
|
||||
"-Werror=implicit-function-declaration",
|
||||
"-Wno-tautological-compare",
|
||||
"-Wno-tautological-constant-out-of-range-compare",
|
||||
"-Wno-error=deprecated-declarations",
|
||||
"-Wno-error=unused-function" ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user