[llvm-commits] [compiler-rt] r169972 - /compiler-rt/trunk/lib/asan/asan_allocator.h

Alexander Potapenko glider at google.com
Wed Dec 12 04:32:58 PST 2012


Author: glider
Date: Wed Dec 12 06:32:57 2012
New Revision: 169972

URL: http://llvm.org/viewvc/llvm-project?rev=169972&view=rev
Log:
[ASan] Fixed a compiler warning.

Modified:
    compiler-rt/trunk/lib/asan/asan_allocator.h

Modified: compiler-rt/trunk/lib/asan/asan_allocator.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_allocator.h?rev=169972&r1=169971&r2=169972&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_allocator.h (original)
+++ compiler-rt/trunk/lib/asan/asan_allocator.h Wed Dec 12 06:32:57 2012
@@ -48,6 +48,7 @@
     return false;
   }
   bool AddrIsAtLeft(uptr addr, uptr access_size, uptr *offset) {
+    (void)access_size;
     if (addr < Beg()) {
       *offset = Beg() - addr;
       return true;





More information about the llvm-commits mailing list