From 3e65a06015cea0e47ef718e472ab50ed8daad7b0 Mon Sep 17 00:00:00 2001 From: Alex Shlyapnikov Date: Sat, 24 Mar 2018 00:40:51 +0000 Subject: [PATCH] Remove duplicated const qualifier. llvm-svn: 328403 --- compiler-rt/lib/hwasan/hwasan_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/hwasan/hwasan_linux.cc b/compiler-rt/lib/hwasan/hwasan_linux.cc index 257d2c237ed6..69e4a8d483c8 100644 --- a/compiler-rt/lib/hwasan/hwasan_linux.cc +++ b/compiler-rt/lib/hwasan/hwasan_linux.cc @@ -202,7 +202,7 @@ static AccessInfo GetAccessInfo(siginfo_t *info, ucontext_t *uc) { const bool is_store = code & 0x10; const bool recover = code & 0x20; - const const uptr addr = uc->uc_mcontext.regs[0]; + const uptr addr = uc->uc_mcontext.regs[0]; const unsigned size_log = code & 0xf; if (size_log > 4 && size_log != 0xf) return AccessInfo{}; // Not ours.