summaryrefslogtreecommitdiff
path: root/lib/Support/Mutex.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-02-05 14:20:11 +0000
committerDuncan Sands <baldrick@free.fr>2012-02-05 14:20:11 +0000
commit5b8a1db7ea6510a2589f710d50754599da742de9 (patch)
treeb0fc32da198a889ddd064c49ae7e8597bfe1eab4 /lib/Support/Mutex.cpp
parent853066a32af39c4674d47713e64b8ed9859976f9 (diff)
downloadllvm-5b8a1db7ea6510a2589f710d50754599da742de9.tar.gz
llvm-5b8a1db7ea6510a2589f710d50754599da742de9.tar.bz2
llvm-5b8a1db7ea6510a2589f710d50754599da742de9.tar.xz
Persuade GCC that there is nothing worth warning about here (there isn't).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Mutex.cpp')
-rw-r--r--lib/Support/Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Mutex.cpp b/lib/Support/Mutex.cpp
index e146b8b0ed..da5baab4be 100644
--- a/lib/Support/Mutex.cpp
+++ b/lib/Support/Mutex.cpp
@@ -51,7 +51,7 @@ MutexImpl::MutexImpl( bool recursive)
// Initialize the mutex attributes
int errorcode = pthread_mutexattr_init(&attr);
- assert(errorcode == 0);
+ assert(errorcode == 0); (void)errorcode;
// Initialize the mutex as a recursive mutex, if requested, or normal
// otherwise.