Get rid of unused variable.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 2 Nov 2006 07:59:59 +0000 (07:59 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 2 Nov 2006 07:59:59 +0000 (07:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31373 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Mutex.cpp

index 467bc8522bb3f67ba7fccb6fb705e45f0901b89d..5dc8d134e02f5456f77291bfb1a52a15fd22959f 100644 (file)
@@ -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);
   }
 }