From 938be63a66dc4e4c04d97080043ba129256eb239 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Sat, 2 Jul 2011 13:06:23 +0000 Subject: [PATCH] Supress gcc-4.5 warning about the result not being used. llvm-svn: 134319 --- lib/Support/Valgrind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Valgrind.cpp b/lib/Support/Valgrind.cpp index 703448524ed..2e57eb75c30 100644 --- a/lib/Support/Valgrind.cpp +++ b/lib/Support/Valgrind.cpp @@ -39,7 +39,7 @@ void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { if (NotUnderValgrind) return; - VALGRIND_DISCARD_TRANSLATIONS(Addr, Len); + (void)VALGRIND_DISCARD_TRANSLATIONS(Addr, Len); } #else // !HAVE_VALGRIND_VALGRIND_H