[ASan] Fixed a compiler warning.

llvm-svn: 169972
This commit is contained in:
Alexander Potapenko 2012-12-12 12:32:57 +00:00
parent 9190a036d7
commit 602a09fa52
1 changed files with 1 additions and 0 deletions

View File

@ -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;