2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-23 06:02:14 +00:00

Fix uninitialized variables

[SVN r25410]
This commit is contained in:
Stefan Slapeta
2004-09-26 09:32:04 +00:00
parent 107d11cfd5
commit c747a6ff4e

View File

@@ -344,7 +344,7 @@ bool read_write_mutex_impl<Mutex>::do_timed_read_lock(const boost::xtime &xt)
if (!l.locked())
return false;
bool fail;
bool fail = false;
if (m_sp == read_write_scheduling_policy::reader_priority)
{
@@ -460,7 +460,7 @@ bool read_write_mutex_impl<Mutex>::do_timed_write_lock(const boost::xtime &xt)
if (!l.locked())
return false;
bool fail;
bool fail = false;
if (m_sp == read_write_scheduling_policy::reader_priority)
{