summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-07-23 19:40:54 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-07-23 19:40:54 +0000
commitdb615d565dc30f01c8fe6da8f09be1793fea50b0 (patch)
tree91ff00cbe443c103442854c87888df4c9b234e32
parenta950658e3cbc7feec94340067e557a634e12516e (diff)
downloadbcm5719-llvm-db615d565dc30f01c8fe6da8f09be1793fea50b0.tar.gz
bcm5719-llvm-db615d565dc30f01c8fe6da8f09be1793fea50b0.zip
Fix unused-variable warning
llvm-svn: 213786
-rw-r--r--compiler-rt/lib/ubsan/ubsan_diag.h1
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)
OpenPOWER on IntegriCloud