Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ollier <larchunix@users.noreply.github.com>2018-04-21 15:50:36 +0300
committerlarchunix <larchunix@users.noreply.github.com>2018-04-21 22:44:45 +0300
commitf545dc8235b367e667feb45e4c62c586845ee059 (patch)
tree91eb62aa6e66433d269c17a9bb3dcd7a6a47b5f7
parentf59e52462d3be6fe9280cf445ce4dddf01c396c4 (diff)
cmake: don't silent unused-but-set-variable warnings
-rw-r--r--CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f9f35033..c21f42ee2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,10 +68,6 @@ if(CMAKE_COMPILER_IS_GNUCC)
if(Wno-unused-result)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result")
endif()
- CHECK_C_COMPILER_FLAG(-Wno-unused-but-set-variable Wno-unused-but-set-variable)
- if(Wno-unused-but-set-variable)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-but-set-variable")
- endif()
CHECK_C_COMPILER_FLAG(-Wno-unused-function Wno-unused-function)
if(Wno-unused-function)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function")