aboutsummaryrefslogtreecommitdiff
path: root/lib/System/RWMutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/RWMutex.cpp')
-rw-r--r--lib/System/RWMutex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/RWMutex.cpp b/lib/System/RWMutex.cpp
index 5a33364aa5..deb04709d8 100644
--- a/lib/System/RWMutex.cpp
+++ b/lib/System/RWMutex.cpp
@@ -73,6 +73,7 @@ RWMutexImpl::RWMutexImpl()
// Initialize the rwlock
int errorcode = pthread_rwlock_init(rwlock, NULL);
+ (void)errorcode;
assert(errorcode == 0);
// Assign the data member