From dda99eef54ed52c4f5faa5b3a058b111e02b34f8 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 --- llvm/lib/Support/Valgrind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/Valgrind.cpp b/llvm/lib/Support/Valgrind.cpp index 703448524ed9..2e57eb75c30e 100644 --- a/llvm/lib/Support/Valgrind.cpp +++ b/llvm/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