Opened 12 years ago

Closed 12 years ago

#4818 closed Patches (fixed)

Fix for warning on unused variable in boost/thread/pthread/condition_variable.hpp

Reported by: Dean Michael Berris Owned by: Anthony Williams
Milestone: To Be Determined Component: thread
Version: Boost Development Trunk Severity: Cosmetic
Keywords: warnings Cc: viboes

Description

Attached is patch that addresses the warning in release builds or when BOOST_ASSERT is disabled.

Attachments (1)

boost-thread-pthread-condition_variable.hpp.diff (460 bytes ) - added by Dean Michael Berris 12 years ago.

Download all attachments as: .zip

Change History (3)

by Dean Michael Berris, 12 years ago

comment:1 by viboes, 12 years ago

Cc: viboes added

Maybe we can change for BOOST_VERIFY(!res);

comment:2 by Anthony Williams, 12 years ago

Resolution: fixed
Status: newclosed

Changed trunk to throw on failure rather than assert.

Note: See TracTickets for help on using tickets.