Opened 12 years ago
Closed 11 years ago
#5344 closed Patches (duplicate)
condition_variable.hpp warning
Reported by: | anonymous | Owned by: | Anthony Williams |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.46.0 | Severity: | Cosmetic |
Keywords: | condition_variable.hpp warning | Cc: | viboes |
Description
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
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 11 years ago
Cc: | added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #4818
Note:
See TracTickets
for help on using tickets.
I see that the file trunk/boost/thread/pthread/condition_variable.hpp has been significantly reworked, but the changes have not yet been merged to the release branch.
Anthony - is the merge planned for the 1.47 release?