[llvm-commits] CVS: llvm/lib/System/Mutex.cpp

Reid Spencer reid at x10sys.com
Thu Nov 2 00:00:13 PST 2006



Changes in directory llvm/lib/System:

Mutex.cpp updated: 1.9 -> 1.10
---
Log message:

Get rid of unused variable.


---
Diffs of the changes:  (+1 -1)

 Mutex.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/System/Mutex.cpp
diff -u llvm/lib/System/Mutex.cpp:1.9 llvm/lib/System/Mutex.cpp:1.10
--- llvm/lib/System/Mutex.cpp:1.9	Sun Aug 27 19:42:29 2006
+++ llvm/lib/System/Mutex.cpp	Thu Nov  2 01:59:59 2006
@@ -101,7 +101,7 @@
   {
     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);
   }
 }






More information about the llvm-commits mailing list