瀏覽代碼

core: Enforce C4715 (not all control paths return a value)

ReinUsesLisp 5 年之前
父節點
當前提交
43d9f417ae
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/core/CMakeLists.txt

+ 2 - 0
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