diff options
author | Alexander Potapenko <glider@google.com> | 2012-12-12 12:32:57 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2012-12-12 12:32:57 +0000 |
commit | 2ca12220769c11d490ace922c4f8b8ce5c3ee0d0 (patch) | |
tree | d9d38d2eb9729438a0d6559fc468dd5557c4a2ec /lib/asan/asan_allocator.h | |
parent | fb8ca8143896ef012d9e2bcb20ff3e4cfed93092 (diff) |
[ASan] Fixed a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_allocator.h')
-rw-r--r-- | lib/asan/asan_allocator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/asan_allocator.h b/lib/asan/asan_allocator.h index e68f79793..98a190428 100644 --- a/lib/asan/asan_allocator.h +++ b/lib/asan/asan_allocator.h @@ -48,6 +48,7 @@ class AsanChunkView { return false; } bool AddrIsAtLeft(uptr addr, uptr access_size, uptr *offset) { + (void)access_size; if (addr < Beg()) { *offset = Beg() - addr; return true; |