diff options
| author | 2021-01-05 04:18:40 -0300 | |
|---|---|---|
| committer | 2021-01-05 04:18:40 -0300 | |
| commit | 43d9f417ae3ea8da7462e30671162823e41b2023 (patch) | |
| tree | b0b329589cc406dab4f166e045399cf1b2955a37 /src/core | |
| parent | core: Silence warnings when compiling without asserts (diff) | |
| download | yuzu-43d9f417ae3ea8da7462e30671162823e41b2023.tar.gz yuzu-43d9f417ae3ea8da7462e30671162823e41b2023.tar.xz yuzu-43d9f417ae3ea8da7462e30671162823e41b2023.zip | |
core: Enforce C4715 (not all control paths return a value)
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 01f3e9419..893df433a 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -635,6 +635,8 @@ if (MSVC) | |||
| 635 | /we4267 | 635 | /we4267 |
| 636 | # 'context' : truncation from 'type1' to 'type2' | 636 | # 'context' : truncation from 'type1' to 'type2' |
| 637 | /we4305 | 637 | /we4305 |
| 638 | # 'function' : not all control paths return a value | ||
| 639 | /we4715 | ||
| 638 | ) | 640 | ) |
| 639 | else() | 641 | else() |
| 640 | target_compile_options(core PRIVATE | 642 | target_compile_options(core PRIVATE |