summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2022-03-16 16:12:22 +0800
committerYi Kong <yikong@google.com>2022-03-16 08:15:15 +0000
commitf9b1313968e938f435caa1c7cd11a55435dc6e93 (patch)
treed7360eef5fced0c95e69dd1c53ab22d2fb49f1cd /libc/malloc_debug/malloc_debug.cpp
parent471bef4d34a666a5edfb2c0008dad89b6c6f1d76 (diff)
Suppress -Wformat warning
This is exactly what it is testing for. Original warning: bionic/tests/stdio_test.cpp:370:47: error: '%n' specifier not supported on this platform [-Werror,-Wformat] EXPECT_DEATH(snprintf(buf, sizeof(buf), "a %n b", &i), "%n not allowed on Android"); ~^ Test: presubmit Bug: 219872355 Change-Id: I6e378722b2d681cf64f4cf31ef000bd28203b00d
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions