[Boost-bugs] [Boost C++ Libraries] #5267: condition_variable.hpp ovesight

Subject: [Boost-bugs] [Boost C++ Libraries] #5267: condition_variable.hpp ovesight
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-05 16:35:41


#5267: condition_variable.hpp ovesight
------------------------------+---------------------------------------------
 Reporter: rwgk | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Warning from g++ 4.1.2 (Fedora 8):

 boost/boost/thread/pthread/condition_variable.hpp:72: warning: unused
 variable 'cond_res'

 Probably due to an oversight:

 - int const
 cond_res=pthread_cond_timedwait(&cond,&internal_mutex,&timeout);
 +
 cond_res=pthread_cond_timedwait(&cond,&internal_mutex,&timeout);

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5267>
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:05 UTC