[llvm-commits] [llvm] r134319 - /llvm/trunk/lib/Support/Valgrind.cpp
Duncan Sands
baldrick at free.fr
Sat Jul 2 06:06:23 PDT 2011
Author: baldrick
Date: Sat Jul 2 08:06:23 2011
New Revision: 134319
URL: http://llvm.org/viewvc/llvm-project?rev=134319&view=rev
Log:
Supress gcc-4.5 warning about the result not being used.
Modified:
llvm/trunk/lib/Support/Valgrind.cpp
Modified: llvm/trunk/lib/Support/Valgrind.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Valgrind.cpp?rev=134319&r1=134318&r2=134319&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Valgrind.cpp (original)
+++ llvm/trunk/lib/Support/Valgrind.cpp Sat Jul 2 08:06:23 2011
@@ -39,7 +39,7 @@
if (NotUnderValgrind)
return;
- VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
+ (void)VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
}
#else // !HAVE_VALGRIND_VALGRIND_H
More information about the llvm-commits
mailing list