From: Reid Spencer Date: Thu, 2 Nov 2006 07:59:59 +0000 (+0000) Subject: Get rid of unused variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b86b0e95c67821bcdbe57b2deaa8cdc586c3fc7;p=oota-llvm.git Get rid of unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31373 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Mutex.cpp b/lib/System/Mutex.cpp index 467bc8522bb..5dc8d134e02 100644 --- a/lib/System/Mutex.cpp +++ b/lib/System/Mutex.cpp @@ -101,7 +101,7 @@ Mutex::~Mutex() { pthread_mutex_t* mutex = reinterpret_cast(data_); assert(mutex != 0); - int errorcode = pthread_mutex_destroy(mutex); + pthread_mutex_destroy(mutex); assert(mutex != 0); } }