Index: msvc.cmake =================================================================== --- cmake/msvc.cmake (revision 67605) +++ cmake/msvc.cmake (working copy) @@ -67,7 +67,8 @@ # Enable warnings above the default level, but don't treat them as errors: # - C4115: named type definition in parentheses -add_compile_flags("/w14115") +# - C4189: local variable initialized but not referenced +add_compile_flags("/w14115 /w14189") # Debugging #if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")