summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-01-05 04:18:40 -0300
committerGravatar ReinUsesLisp2021-01-05 04:18:40 -0300
commit43d9f417ae3ea8da7462e30671162823e41b2023 (patch)
treeb0b329589cc406dab4f166e045399cf1b2955a37 /src/core
parentcore: Silence warnings when compiling without asserts (diff)
downloadyuzu-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.txt2
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 )
639else() 641else()
640 target_compile_options(core PRIVATE 642 target_compile_options(core PRIVATE