Subject: [Boost-bugs] [Boost C++ Libraries] #5344: condition_variable.hpp warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-20 17:43:32
#5344: condition_variable.hpp warning
--------------------------------------------+-------------------------------
Reporter: anonymous | Owner: anthonyw
Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.46.0 | Severity: Cosmetic
Keywords: condition_variable.hpp warning |
--------------------------------------------+-------------------------------
Warning from g++ 4.1.2 (RHEL 5):
boost/boost/thread/pthread/condition_variable.hpp:54: warning: unused
variable 'res'
Probably due to an oversight:
* int const res=pthread_cond_wait(&cond,&internal_mutex);
* BOOST_ASSERT(!res);
+ (void)res;
actually patch for exactly same problem was submitted with issue #4818
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5344> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC