summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-02 07:59:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-02 07:59:59 +0000
commit7f311c2f4b9fa8bf435c0a9ba1cb11b89018616d (patch)
treed82ed25b2612f24a602baf9bcd46d7bc854f943f /llvm/lib
parent68e1b240b4044a8d0c67f1e22e6f3bd4608cd7c8 (diff)
downloadbcm5719-llvm-7f311c2f4b9fa8bf435c0a9ba1cb11b89018616d.tar.gz
bcm5719-llvm-7f311c2f4b9fa8bf435c0a9ba1cb11b89018616d.zip
Get rid of unused variable.
llvm-svn: 31373
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/System/Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Mutex.cpp b/llvm/lib/System/Mutex.cpp
index 467bc8522bb..5dc8d134e02 100644
--- a/llvm/lib/System/Mutex.cpp
+++ b/llvm/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);
}
}
OpenPOWER on IntegriCloud