diff options
| author | 2021-07-03 05:51:31 -0400 | |
|---|---|---|
| committer | 2021-07-03 05:51:31 -0400 | |
| commit | 3a3f4983b67e436a630f3b11dd47183f6ea2229d (patch) | |
| tree | fe56dbc6317f04c97db9aa8b3867362829413d4f | |
| parent | Merge pull request #6459 from lat9nq/ubuntu-fixes (diff) | |
| download | yuzu-3a3f4983b67e436a630f3b11dd47183f6ea2229d.tar.gz yuzu-3a3f4983b67e436a630f3b11dd47183f6ea2229d.tar.xz yuzu-3a3f4983b67e436a630f3b11dd47183f6ea2229d.zip | |
CMakeLists: Enforce C4189
This supplements C4101 by detecting initialized but unreferenced local variables
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 f30dd49a3..1c3dde31d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -49,6 +49,7 @@ if (MSVC) | |||
| 49 | /W3 | 49 | /W3 |
| 50 | /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled | 50 | /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled |
| 51 | /we4101 # 'identifier': unreferenced local variable | 51 | /we4101 # 'identifier': unreferenced local variable |
| 52 | /we4189 # 'identifier': local variable is initialized but not referenced | ||
| 52 | /we4265 # 'class': class has virtual functions, but destructor is not virtual | 53 | /we4265 # 'class': class has virtual functions, but destructor is not virtual |
| 53 | /we4388 # signed/unsigned mismatch | 54 | /we4388 # signed/unsigned mismatch |
| 54 | /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect | 55 | /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect |