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:
parent
c1389003b7
commit
938be63a66
@ -39,7 +39,7 @@ void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) {
|
|||||||
if (NotUnderValgrind)
|
if (NotUnderValgrind)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
|
(void)VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else // !HAVE_VALGRIND_VALGRIND_H
|
#else // !HAVE_VALGRIND_VALGRIND_H
|
||||||
|
Loading…
Reference in New Issue
Block a user