From: Chandler Carruth Date: Tue, 10 Aug 2010 10:39:25 +0000 (+0000) Subject: Mark this variable as used. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0db86fe09729866473f5d6df24328eca0cf3883f;p=oota-llvm.git Mark this variable as used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110667 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/RWMutex.cpp b/lib/System/RWMutex.cpp index 5a33364aa50..deb04709d82 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