[CMAKE] msvc.cmake: Remove now redundant '/we4028' special case
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Fri, 19 Apr 2019 13:39:16 +0000 (15:39 +0200)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Fri, 19 Apr 2019 18:47:03 +0000 (20:47 +0200)
Addendum to 545a2c79367e1457e4bc7ac14d3c0f840c7e063c.

CORE-7538

sdk/cmake/msvc.cmake

index 8419591..e3319a1 100644 (file)
@@ -99,10 +99,6 @@ add_compile_flags("/wd4018")
 # - C4700: uninitialized variable usage
 # - C4716: function must return a value
 add_compile_flags("/we4013 /we4020 /we4022 /we4028 /we4047 /we4098 /we4113 /we4129 /we4133 /we4163 /we4229 /we4311 /we4312 /we4603 /we4700 /we4716")
 # - C4700: uninitialized variable usage
 # - C4716: function must return a value
 add_compile_flags("/we4013 /we4020 /we4022 /we4028 /we4047 /we4098 /we4113 /we4129 /we4133 /we4163 /we4229 /we4311 /we4312 /we4603 /we4700 /we4716")
-# TODO: Check and fix other architectures.
-if(ARCH STREQUAL "i386")
-    add_compile_flags("/we4028")
-endif()
 
 # - C4189: local variable initialized but not referenced
 # Not in Release mode and not with MSVC 2010
 
 # - C4189: local variable initialized but not referenced
 # Not in Release mode and not with MSVC 2010