1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

build: GCC12 warnings

This commit is contained in:
Alexander Alekhin
2022-05-15 16:20:45 +00:00
parent 766f58ed7e
commit 89f8d4ae12
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -8716,7 +8716,7 @@ static void StackLowerThanAddress(const void* ptr, bool* result) {
// Make sure AddressSanitizer does not tamper with the stack here.
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
static bool StackGrowsDown() {
int dummy;
int dummy = 0;
bool result;
StackLowerThanAddress(&dummy, &result);
return result;