diff options
| author | 2021-01-13 01:52:30 -0500 | |
|---|---|---|
| committer | 2021-01-13 01:57:18 -0500 | |
| commit | 2b98da2ed4b0abb69c36fe99aa2e1efb9cac19f1 (patch) | |
| tree | e4d8b81becfd9b45ff706b8d61008e4ab9329879 /src | |
| parent | Merge pull request #5280 from FearlessTobi/port-5666 (diff) | |
| download | yuzu-2b98da2ed4b0abb69c36fe99aa2e1efb9cac19f1.tar.gz yuzu-2b98da2ed4b0abb69c36fe99aa2e1efb9cac19f1.tar.xz yuzu-2b98da2ed4b0abb69c36fe99aa2e1efb9cac19f1.zip | |
cmake: Enforce -Werror=switch and -Werror=unused-variable
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 61adbef28..ee6f61f16 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -67,8 +67,10 @@ else() | |||
| 67 | -Werror=implicit-fallthrough | 67 | -Werror=implicit-fallthrough |
| 68 | -Werror=missing-declarations | 68 | -Werror=missing-declarations |
| 69 | -Werror=reorder | 69 | -Werror=reorder |
| 70 | -Werror=switch | ||
| 70 | -Werror=uninitialized | 71 | -Werror=uninitialized |
| 71 | -Werror=unused-result | 72 | -Werror=unused-result |
| 73 | -Werror=unused-variable | ||
| 72 | -Wextra | 74 | -Wextra |
| 73 | -Wmissing-declarations | 75 | -Wmissing-declarations |
| 74 | -Wno-attributes | 76 | -Wno-attributes |