diff --git a/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc b/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc index da09a1c..8e37cc0 100644 --- a/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc +++ b/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc @@ -1296,7 +1296,7 @@ static void StackLowerThanAddress(const void* ptr, bool* result) { GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_ static bool StackGrowsDown() { - int dummy; + int dummy=0; bool result; StackLowerThanAddress(&dummy, &result); return result;