mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
core: Enforce C4715 (not all control paths return a value)
This commit is contained in:
parent
4f13e270c8
commit
43d9f417ae
|
@ -635,6 +635,8 @@ if (MSVC)
|
||||||
/we4267
|
/we4267
|
||||||
# 'context' : truncation from 'type1' to 'type2'
|
# 'context' : truncation from 'type1' to 'type2'
|
||||||
/we4305
|
/we4305
|
||||||
|
# 'function' : not all control paths return a value
|
||||||
|
/we4715
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
target_compile_options(core PRIVATE
|
target_compile_options(core PRIVATE
|
||||||
|
|
Loading…
Reference in a new issue