diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-02 07:59:59 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-02 07:59:59 +0000 |
commit | 2b86b0e95c67821bcdbe57b2deaa8cdc586c3fc7 (patch) | |
tree | a64ddfad5c28c98291eed581a8eb631b45f67b99 /lib/System/Mutex.cpp | |
parent | 97be133ba2e1800146dddaed0e627c21b93fe493 (diff) | |
download | external_llvm-2b86b0e95c67821bcdbe57b2deaa8cdc586c3fc7.zip external_llvm-2b86b0e95c67821bcdbe57b2deaa8cdc586c3fc7.tar.gz external_llvm-2b86b0e95c67821bcdbe57b2deaa8cdc586c3fc7.tar.bz2 |
Get rid of unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Mutex.cpp')
-rw-r--r-- | lib/System/Mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Mutex.cpp b/lib/System/Mutex.cpp index 467bc85..5dc8d13 100644 --- a/lib/System/Mutex.cpp +++ b/lib/System/Mutex.cpp @@ -101,7 +101,7 @@ Mutex::~Mutex() { pthread_mutex_t* mutex = reinterpret_cast<pthread_mutex_t*>(data_); assert(mutex != 0); - int errorcode = pthread_mutex_destroy(mutex); + pthread_mutex_destroy(mutex); assert(mutex != 0); } } |