diff options
author | Duncan Sands <baldrick@free.fr> | 2011-07-02 13:06:23 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-07-02 13:06:23 +0000 |
commit | d01cb358048fb6575a5757e789f4e0100db9acc6 (patch) | |
tree | b7a037a0d3ec7679466828fb35954a32eb0b722d | |
parent | 5470822eb1995647818cebb0541fec1544b190ec (diff) | |
download | external_llvm-d01cb358048fb6575a5757e789f4e0100db9acc6.zip external_llvm-d01cb358048fb6575a5757e789f4e0100db9acc6.tar.gz external_llvm-d01cb358048fb6575a5757e789f4e0100db9acc6.tar.bz2 |
Supress gcc-4.5 warning about the result not being used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134319 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Valgrind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Valgrind.cpp b/lib/Support/Valgrind.cpp index 7034485..2e57eb7 100644 --- a/lib/Support/Valgrind.cpp +++ b/lib/Support/Valgrind.cpp @@ -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 |