forked from OSchip/llvm-project
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:
parent
9ae292d810
commit
a1c44332e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue