diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-08-10 10:39:25 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-08-10 10:39:25 +0000 |
commit | 0db86fe09729866473f5d6df24328eca0cf3883f (patch) | |
tree | 52e1b00315f87397466c36cb6b0d58de1a123dd1 /lib/System/RWMutex.cpp | |
parent | 73362c820bad20e545d37b8a2414c35c0d3d583c (diff) |
Mark this variable as used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/RWMutex.cpp')
-rw-r--r-- | lib/System/RWMutex.cpp | 1 |
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 |