Warnings: Silence false warnings about fatal code paths

This commit is contained in:
JohnHolmesII authored and Ivan committed 2020-12-29 14:17:34 +03:00
1 parent 02b684b810
commit e04b2eebc3
1 file changed
+2
@@ -31,6 +31,8 @@ else()
add_compile_options(-Werror=sign-compare)
add_compile_options(-Werror=reorder)
add_compile_options(-Wno-return-type)
#TODO Clean the code so these are removed
add_compile_options(-Wno-unused-variable)
add_compile_options(-Wno-unknown-pragmas)