diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-23 19:40:54 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-23 19:40:54 +0000 |
commit | db615d565dc30f01c8fe6da8f09be1793fea50b0 (patch) | |
tree | 91ff00cbe443c103442854c87888df4c9b234e32 | |
parent | a950658e3cbc7feec94340067e557a634e12516e (diff) | |
download | bcm5719-llvm-db615d565dc30f01c8fe6da8f09be1793fea50b0.tar.gz bcm5719-llvm-db615d565dc30f01c8fe6da8f09be1793fea50b0.zip |
Fix unused-variable warning
llvm-svn: 213786
-rw-r--r-- | compiler-rt/lib/ubsan/ubsan_diag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/ubsan/ubsan_diag.h b/compiler-rt/lib/ubsan/ubsan_diag.h index 0336951900a..247ecddb912 100644 --- a/compiler-rt/lib/ubsan/ubsan_diag.h +++ b/compiler-rt/lib/ubsan/ubsan_diag.h @@ -208,6 +208,7 @@ void MaybePrintStackTrace(uptr pc, uptr bp); #define MAYBE_PRINT_STACK_TRACE() do { \ GET_CALLER_PC_BP_SP; \ + (void)sp; \ MaybePrintStackTrace(pc, bp); \ } while (0) |