diff options
| author | 2021-01-10 01:16:25 -0500 | |
|---|---|---|
| committer | 2021-01-10 01:16:25 -0500 | |
| commit | 25724898d081c1cef2876eaf6af4e120fa968f6a (patch) | |
| tree | d3fb1c33fdb41b552979bbe4498ccf59459029a7 | |
| parent | yuzu_cmd: Silence unreferenced local variable warning (diff) | |
| download | yuzu-25724898d081c1cef2876eaf6af4e120fa968f6a.tar.gz yuzu-25724898d081c1cef2876eaf6af4e120fa968f6a.tar.xz yuzu-25724898d081c1cef2876eaf6af4e120fa968f6a.zip | |
cmake: Enforce C4101
This matches GCC's -Wunused-variable
Diffstat (limited to '')
| -rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index daf251d19..61adbef28 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -46,6 +46,7 @@ if (MSVC) | |||
| 46 | # Warnings | 46 | # Warnings |
| 47 | /W3 | 47 | /W3 |
| 48 | /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled | 48 | /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled |
| 49 | /we4101 # 'identifier': unreferenced local variable | ||
| 49 | /we4265 # 'class': class has virtual functions, but destructor is not virtual | 50 | /we4265 # 'class': class has virtual functions, but destructor is not virtual |
| 50 | /we4388 # signed/unsigned mismatch | 51 | /we4388 # signed/unsigned mismatch |
| 51 | /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect | 52 | /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect |