OSDN Git Service

libstdc++-v3/
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Jun 2008 12:20:28 +0000 (12:20 +0000)
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Jun 2008 12:20:28 +0000 (12:20 +0000)
* src/condition_variable.cc (~condition_variable): Drop unused
variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136809 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/src/condition_variable.cc

index ebfca51..13c5c70 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * src/condition_variable.cc (~condition_variable): Drop unused
+       variable.
+
 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
index 74541e9..c3caa59 100644 (file)
@@ -49,7 +49,7 @@ namespace std
   {
 #if __GTHREAD_HAS_COND
     // XXX no thread blocked
-    int __e = pthread_cond_destroy(&_M_cond);
+    /* int __e = */ pthread_cond_destroy(&_M_cond);
     // if __e == EBUSY then blocked
 #endif
   }