diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-05 04:18:40 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-05 04:18:40 -0300 |
commit | 43d9f417ae3ea8da7462e30671162823e41b2023 (patch) | |
tree | b0b329589cc406dab4f166e045399cf1b2955a37 /src/core | |
parent | 4f13e270c8c63f86a135426e381eef7d4837e5a4 (diff) |
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) /we4267 # 'context' : truncation from 'type1' to 'type2' /we4305 + # 'function' : not all control paths return a value + /we4715 ) else() target_compile_options(core PRIVATE |