Skip to content

Commit 6fedad0

Browse files
committed
Do not set -Wno-used
1 parent e2eeafe commit 6fedad0

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ else()
239239
AVO_COMPILER_SUPPORTS_WFORMAT_SECURITY)
240240
check_cxx_compiler_flag(-Werror=format-security
241241
AVO_COMPILER_SUPPORTS_WERROR_FORMAT_SECURITY)
242-
check_cxx_compiler_flag(-Wno-unused
243-
AVO_COMPILER_SUPPORTS_WNO_UNUSED)
244242

245243
if(AVO_COMPILER_SUPPORTS_WALL)
246244
add_compile_options(-Wall)
@@ -251,9 +249,6 @@ else()
251249
if(AVO_COMPILER_SUPPORTS_WERROR_FORMAT_SECURITY)
252250
add_compile_options(-Werror=format-security)
253251
endif()
254-
if(AVO_COMPILER_SUPPORTS_WNO_UNUSED)
255-
add_compile_options(-Wno-unused)
256-
endif()
257252
endif()
258253

259254
if(NOT MSVC)

0 commit comments

Comments
 (0)