summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-MSVC.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-08 11:08:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-08 11:08:50 +0200
commit53d61d8c52773fc10345282b499d2a45740fcaa8 (patch)
treeebee321b2ded0f3f615a346ae1473d62b69559af /userconfig-sthalik@Windows-MSVC.cmake
parent7f8d255ab9b468cce6b8bac76c2fb066babde5a4 (diff)
clean up msvc warnings
Diffstat (limited to 'userconfig-sthalik@Windows-MSVC.cmake')
-rw-r--r--userconfig-sthalik@Windows-MSVC.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/userconfig-sthalik@Windows-MSVC.cmake b/userconfig-sthalik@Windows-MSVC.cmake
index e2aae06c..c721de1a 100644
--- a/userconfig-sthalik@Windows-MSVC.cmake
+++ b/userconfig-sthalik@Windows-MSVC.cmake
@@ -81,6 +81,9 @@ endfunction()
function(fm-userconfig-src)
add_compile_options(-W4 -Qvec-report:1)
+ add_compile_options(
+ -wd4702 # warning C4702: unreachable code
+ )
if(MSVC_VERSION GREATER_EQUAL 1935) # 17.5 Preview
add_compile_options(-Zc:checkGwOdr)
endif()