projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a950658
)
Fix unused-variable warning
author
Alexey Samsonov
<vonosmas@gmail.com>
Wed, 23 Jul 2014 19:40:54 +0000
(19:40 +0000)
committer
Alexey Samsonov
<vonosmas@gmail.com>
Wed, 23 Jul 2014 19:40:54 +0000
(19:40 +0000)
llvm-svn: 213786
compiler-rt/lib/ubsan/ubsan_diag.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/ubsan/ubsan_diag.h
b/compiler-rt/lib/ubsan/ubsan_diag.h
index
0336951
..
247ecdd
100644
(file)
--- 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)