Opened 12 years ago
Closed 12 years ago
#5267 closed Bugs (fixed)
condition_variable.hpp ovesight
| Reported by: | Ralf W. Grosse-Kunstleve | Owned by: | Anthony Williams | 
|---|---|---|---|
| Milestone: | To Be Determined | Component: | thread | 
| Version: | Boost 1.45.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
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);
  Note:
 See   TracTickets
 for help on using tickets.
    

Fixed on trunk, revision 69621