From 90c8b0e0928bbcc7afd12a9fd8f9eece67c9430c Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Tue, 24 Feb 2015 11:12:44 +0000 Subject: [PATCH] Try to unbreak sanitizer-x86_64-linux-autoconf after r230318 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The buildbot failed to build with error: variable ‘enable_fp’ set but not used [-Werror=unused-but-set-variable] let's add a `(void)enable_fp;`. llvm-svn: 230323 --- compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h index a969f30..fc34047 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h @@ -295,6 +295,7 @@ extern "C" void* _ReturnAddress(void); do { \ volatile uptr enable_fp; \ enable_fp = GET_CURRENT_FRAME(); \ + (void)enable_fp; \ } while (0) #endif // SANITIZER_DEFS_H -- 2.7.4