From f13df8faa96cbc476a99a2acd41e2d00bab9d6ce Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 15 Jun 2008 12:20:28 +0000 Subject: [PATCH] condition_variable.cc (~condition_variable): Drop unused variable. libstdc++-v3/ * src/condition_variable.cc (~condition_variable): Drop unused variable. From-SVN: r136809 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/src/condition_variable.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ebfca51c964..13c5c70981b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-06-15 Ralf Wildenhues + + * src/condition_variable.cc (~condition_variable): Drop unused + variable. + 2008-06-13 Paolo Carlini * include/bits/stl_deque.h (deque<>::push_back(_Args&&...), diff --git a/libstdc++-v3/src/condition_variable.cc b/libstdc++-v3/src/condition_variable.cc index 74541e9f34b..c3caa593a0d 100644 --- a/libstdc++-v3/src/condition_variable.cc +++ b/libstdc++-v3/src/condition_variable.cc @@ -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 } -- 2.30.2