Skip to content

Commit

Permalink
Remove unused warning suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kangz committed Aug 9, 2015
1 parent b211d95 commit 356f497
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions CMakeLists.txt
Expand Up @@ -108,15 +108,6 @@ try_flag(WARNINGS "-W${WARNMODE}old-style-cast")
try_flag(WARNINGS "-Woverloaded-virtual")
try_flag(WARNINGS "-Wstrict-null-sentinel")
try_flag(WARNINGS "-Wno-error=sign-promo")
# remove
try_flag(WARNINGS "-Wno-error=maybe-uninitialized")
try_flag(WARNINGS "-W${WARNMODE}missing-field-initializers")
try_flag(WARNINGS "-W${WARNMODE}sign-compare")
try_flag(WARNINGS "-Wno-error=switch")
try_flag(WARNINGS "-Wno-error=unused-but-set-variable")
try_flag(WARNINGS "-Wno-error=unused-function")
try_flag(WARNINGS "-Wno-error=unused-parameter")
try_flag(WARNINGS "-Wno-error=unused-private-field")

GAMEMODULE(NAME sgame
DEFINITIONS
Expand Down
9 changes: 0 additions & 9 deletions daemon/CMakeLists.txt
Expand Up @@ -313,15 +313,6 @@ else()
try_flag(WARNINGS "-Wstrict-null-sentinel")
try_flag(WARNINGS "-Wno-error=sign-promo")
try_flag(WARNINGS "-Wno-error=extern-c-compat")
# remove
try_flag(WARNINGS "-W${WARNMODE}missing-field-initializers")
try_flag(WARNINGS "-W${WARNMODE}sign-compare")
try_flag(WARNINGS "-Wno-error=switch")
try_flag(WARNINGS "-Wno-error=unused-but-set-parameter")
try_flag(WARNINGS "-Wno-error=unused-but-set-variable")
try_flag(WARNINGS "-Wno-error=unused-function")
try_flag(WARNINGS "-Wno-error=unused-parameter")
try_flag(WARNINGS "-Wno-error=unused-variable")

if (USE_ADDRESS_SANITIZER)
set_cxx_flag("-fsanitize=address")
Expand Down

0 comments on commit 356f497

Please sign in to comment.