1
0
Fork 0
forked from suyu/suyu

cmake: Enforce C4101

This matches GCC's -Wunused-variable
This commit is contained in:
Morph 2021-01-10 01:16:25 -05:00
parent e07540264d
commit 25724898d0

View file

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