summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Mutex.cpp2
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.
OpenPOWER on IntegriCloud