From f9528843d2df5125e106e3c796f33f46df236f5e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 6 Dec 2012 07:43:17 +0000 Subject: [PATCH] Remove unused variable. llvm-svn: 169485 --- compiler-rt/lib/sanitizer_common/sanitizer_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common.cc b/compiler-rt/lib/sanitizer_common/sanitizer_common.cc index 9cecb0f3..c236444 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_common.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_common.cc @@ -159,7 +159,7 @@ void SortArray(uptr *array, uptr size) { // We do it by maping a bit more and then unmaping redundant pieces. // We probably can do it with fewer syscalls in some OS-dependent way. void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { - uptr PageSize = GetPageSizeCached(); +// uptr PageSize = GetPageSizeCached(); CHECK(IsPowerOfTwo(size)); CHECK(IsPowerOfTwo(alignment)); uptr map_size = size + alignment; -- 2.7.4