Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

cmake: Enforce C4101

Morph02f068cd8f47
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index daf251d198..61adbef28a 100644
--- a/src/CMakeLists.txt
+++ b/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