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 d4659d6ef6
commit dda99eef54
1 changed files with 1 additions and 1 deletions

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