From 2b86b0e95c67821bcdbe57b2deaa8cdc586c3fc7 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 2 Nov 2006 07:59:59 +0000 Subject: [PATCH] Get rid of unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31373 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Mutex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }