diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2018-03-24 00:40:51 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2018-03-24 00:40:51 +0000 |
commit | 4c143ffe63116f76af629d9daa471daebdfcd17c (patch) | |
tree | 4e1f866fed6bdb8dfa87613f4d3e9970d1515952 /lib | |
parent | 2f90bfba89ad7ac272dcb1cae064681fce98f1b9 (diff) |
Remove duplicated const qualifier.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@328403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hwasan/hwasan_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hwasan/hwasan_linux.cc b/lib/hwasan/hwasan_linux.cc index 257d2c237..69e4a8d48 100644 --- a/lib/hwasan/hwasan_linux.cc +++ b/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. |