Revert previous commit. It seems that whether casting to void

is valid or not depends on which system you build.

llvm-svn: 134321
This commit is contained in:
Duncan Sands 2011-07-02 13:14:22 +00:00
parent 9ae292d810
commit a1c44332e5
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;
(void)VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
}
#else // !HAVE_VALGRIND_VALGRIND_H