mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +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:
@@ -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" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user