diff options
author | George Burgess IV <gbiv@google.com> | 2017-09-24 13:36:29 -0700 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2017-09-24 13:36:29 -0700 |
commit | 80136a1e4142d66846cf9024ac83346a9444cdca (patch) | |
tree | e090abd375b3570d59ea39f96d38626831e697d2 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 7229576bfed017f78d90102db357de2f9f1f5b45 (diff) |
Silence static analyzer warnings about memory leaks
The static analyzer complains that this memory is leaked regardless of
how I try to work around it (unless we escape the memory by using a
global or something, but...). Basically, as long as there's some sort
of operation on the reinterpret_cast'ed pointer, it complains. If we
remove the bitwise negations, it doesn't. Doing so would presumably
defeat the purpose of this test, though, so add a NOLINT.
Bug: 27101951
Test: mma. No more static analyzer warning for this file.
Change-Id: If9008946a2145d17b8651535141bfd7ec9224739
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions