Skip to content

Commit

Permalink
BUILD: fix compiling with gcc13 (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev authored Jul 8, 2023
1 parent ec0c69b commit 1c57838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/gtest/common/gtest-all.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8966,8 +8966,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 = 0;
StackLowerThanAddress(&dummy, &result);
return result;
}
Expand Down

0 comments on commit 1c57838

Please sign in to comment.