summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/RWMutex.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-08-10 10:39:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-08-10 10:39:25 +0000
commitce200fd4c689ac6cda40bb5dceeb80360118272f (patch)
treeb3f5eabe923bc685ffd702fb2fb8d41d5af73f02 /llvm/lib/System/RWMutex.cpp
parent27db23948c65e8737d763c3b1ed4b4427d264665 (diff)
downloadbcm5719-llvm-ce200fd4c689ac6cda40bb5dceeb80360118272f.tar.gz
bcm5719-llvm-ce200fd4c689ac6cda40bb5dceeb80360118272f.zip
Mark this variable as used.
llvm-svn: 110667
Diffstat (limited to 'llvm/lib/System/RWMutex.cpp')
-rw-r--r--llvm/lib/System/RWMutex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/RWMutex.cpp b/llvm/lib/System/RWMutex.cpp
index 5a33364aa50..deb04709d82 100644
--- a/llvm/lib/System/RWMutex.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud