diff options
| author | Christopher Ferris <cferris@google.com> | 2021-12-14 06:28:40 +0000 |
|---|---|---|
| committer | Christopher Ferris <cferris@google.com> | 2021-12-14 23:02:53 +0000 |
| commit | 724efbb57c65cc61173fffe7365d467b4058eae7 (patch) | |
| tree | cfddbefb7ae1c2a7a128885a61a12e3738a7c7db /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | f190be84f5fd490409c9cbee91149e807ba706a1 (diff) | |
Mark variables as unused.
clang is smart enough to notice a variable is set but not used,
but these variable are used for testing purposes. Mark one as
unused, and convert the other to a DoNotOptimize.
Bug: 197240255
Test: Compiles without warnings.
Test: Ran unit tests on coral hwasan build.
Change-Id: Ibc873e477355a702579e5a680780c77db0c58046
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
