27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
diff --git a/memkind-1.10.0/test/gtest_fused/gtest/gtest-all.cc b/memkind-1.10.0/test/gtest_fused/gtest/gtest-all.cc
|
|
index 1120ce8..7a2a816 100644
|
|
--- a/memkind-1.10.0/test/gtest_fused/gtest/gtest-all.cc
|
|
+++ b/memkind-1.10.0/test/gtest_fused/gtest/gtest-all.cc
|
|
@@ -7944,7 +7944,7 @@ void StackLowerThanAddress(const void* ptr, bool* result) {
|
|
// Make sure AddressSanitizer does not tamper with the stack here.
|
|
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
|
|
bool StackGrowsDown() {
|
|
- int dummy;
|
|
+ int dummy = 0;
|
|
bool result;
|
|
StackLowerThanAddress(&dummy, &result);
|
|
return result;
|
|
diff --git a/test/gtest_fused/gtest/gtest-all.cc b/test/gtest_fused/gtest/gtest-all.cc
|
|
index 1120ce8..7a2a816 100644
|
|
--- a/test/gtest_fused/gtest/gtest-all.cc
|
|
+++ b/test/gtest_fused/gtest/gtest-all.cc
|
|
@@ -7944,7 +7944,7 @@ void StackLowerThanAddress(const void* ptr, bool* result) {
|
|
// Make sure AddressSanitizer does not tamper with the stack here.
|
|
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
|
|
bool StackGrowsDown() {
|
|
- int dummy;
|
|
+ int dummy = 0;
|
|
bool result;
|
|
StackLowerThanAddress(&dummy, &result);
|
|
return result;
|