1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Supress gcc-4.5 warning about the result not being used.

llvm-svn: 134319
This commit is contained in:
Duncan Sands 2011-07-02 13:06:23 +00:00
parent c1389003b7
commit 938be63a66

View File

@ -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