Explorar o código

cmake: Enforce C4101

This matches GCC's -Wunused-variable
Morph %!s(int64=5) %!d(string=hai) anos
pai
achega
25724898d0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -46,6 +46,7 @@ if (MSVC)
         # Warnings
         /W3
         /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled
+        /we4101 # 'identifier': unreferenced local variable
         /we4265 # 'class': class has virtual functions, but destructor is not virtual
         /we4388 # signed/unsigned mismatch
         /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect