Mark this variable as used.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 10 Aug 2010 10:39:25 +0000 (10:39 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 10 Aug 2010 10:39:25 +0000 (10:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110667 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/RWMutex.cpp

index 5a33364aa507004781fc30a1cafa780df4d7647c..deb04709d829c6e5c2910ea336e2d6a214052603 100644 (file)
@@ -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