aom-uninitialized-pointer.diff 532 B

1234567891011121314
  1. diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
  2. index aaef2c310..5500ad4a3 100644
  3. --- a/build/cmake/aom_configure.cmake
  4. +++ b/build/cmake/aom_configure.cmake
  5. @@ -309,6 +309,8 @@ if(MSVC)
  6. # Disable MSVC warnings that suggest making code non-portable.
  7. add_compiler_flag_if_supported("/wd4996")
  8. + # Disable MSVC warnings for potentially uninitialized local pointer variable.
  9. + add_compiler_flag_if_supported("/wd4703")
  10. if(ENABLE_WERROR)
  11. add_compiler_flag_if_supported("/WX")
  12. endif()