mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
[NFC] conversions: reenable Wunused-but-set-variable (#1845)
Remove an assigned-to but unused variable. Reenable the Wunused-but-set-variable warning for the conversions suite, as it now compiles cleanly with this warning enabled. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
05ba82ad9a
commit
115bbb3ca2
@@ -16,6 +16,6 @@ set_source_files_properties(
|
||||
COMPILE_FLAGS -march=i686)
|
||||
endif(NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID)
|
||||
|
||||
set_gnulike_module_compile_flags("-Wno-unused-but-set-variable -Wno-sign-compare")
|
||||
set_gnulike_module_compile_flags("-Wno-sign-compare")
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
Reference in New Issue
Block a user