From: Alexey Samsonov Date: Wed, 23 Jul 2014 19:40:54 +0000 (+0000) Subject: Fix unused-variable warning X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db615d565dc30f01c8fe6da8f09be1793fea50b0;p=platform%2Fupstream%2Fllvm.git Fix unused-variable warning llvm-svn: 213786 --- diff --git a/compiler-rt/lib/ubsan/ubsan_diag.h b/compiler-rt/lib/ubsan/ubsan_diag.h index 0336951..247ecdd 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)