소스 검색

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