diff options
author | Aaron Robinson <arobins@microsoft.com> | 2022-03-17 05:30:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 05:30:39 +0300 |
commit | a5ec8aa173e4bc76b173a70aa7fa3be1867011eb (patch) | |
tree | 1f88664910318b3fd1dd014aa03093f7de910d78 /eng | |
parent | 82239a2a0def33c00159c0372226427099cfa355 (diff) |
Reenable CA 4701 (#66676)
* Reenable 4701
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Diffstat (limited to 'eng')
-rw-r--r-- | eng/native/configurecompiler.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/eng/native/configurecompiler.cmake b/eng/native/configurecompiler.cmake index ca92fe6a311..cdf1a8f766a 100644 --- a/eng/native/configurecompiler.cmake +++ b/eng/native/configurecompiler.cmake @@ -600,7 +600,6 @@ if (MSVC) add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4463>) # overflow; assigning value to bit-field that can only hold values from low_value to high_value add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4505>) # unreferenced function with internal linkage has been removed add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4611>) # interaction between 'function' and C++ object destruction is non-portable - add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4701>) # potentially uninitialized local variable 'var' used add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4702>) # unreachable code add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4703>) # potentially uninitialized local pointer variable 'var' used add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4706>) # assignment within conditional expression |