diff options
author | Duncan Sands <baldrick@free.fr> | 2012-02-05 14:20:11 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-02-05 14:20:11 +0000 |
commit | ae22c60f9024fc217227935d10d4dec155ccb7b2 (patch) | |
tree | 8ab0615a90f19456cb397a6f83c3756f86a3a50b /llvm/lib/Support/Mutex.cpp | |
parent | efabc2572f141b822f8b4e3bbd7a198a02ee7ccb (diff) | |
download | bcm5719-llvm-ae22c60f9024fc217227935d10d4dec155ccb7b2.tar.gz bcm5719-llvm-ae22c60f9024fc217227935d10d4dec155ccb7b2.zip |
Persuade GCC that there is nothing worth warning about here (there isn't).
llvm-svn: 149834
Diffstat (limited to 'llvm/lib/Support/Mutex.cpp')
-rw-r--r-- | llvm/lib/Support/Mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Mutex.cpp b/llvm/lib/Support/Mutex.cpp index e146b8b0ed1..da5baab4be4 100644 --- a/llvm/lib/Support/Mutex.cpp +++ b/llvm/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. |