Skip to content

Commit

Permalink
Fix: Fix unititalized variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimkulling committed Mar 31, 2023
1 parent c4caa15 commit 2c3c270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/googletest-1.10.x/googletest/src/gtest-death-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,8 @@ static void StackLowerThanAddress(const void* ptr, bool* result) {
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_
static bool StackGrowsDown() {
int dummy;
bool result;
int dummy=0;
bool result=true;
StackLowerThanAddress(&dummy, &result);
return result;
}
Expand Down

0 comments on commit 2c3c270

Please sign in to comment.