mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 01:13:12 +01:00
Initialize dummy variable
Building fails with a warning that we didn't init this var. So I'm setting it to 0. Is that right, wrong, catastrophic? I dunno, but the warning went away and the build succeeds. Maybe it would be better to just -Wno-error=maybe-uninitialized in vendor/github.com/google/googletest/googletest/cmake/internal_utils.cmake or something.
This commit is contained in:
parent
c444f9b917
commit
d0ee11fe68
2
vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc
generated
vendored
2
vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc
generated
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user