2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-11 00:02:12 +00:00

Fix CW 8.3 warnings.

[SVN r28638]
This commit is contained in:
Michael Glassford
2005-05-03 20:42:09 +00:00
parent cc8de48849
commit 69e52a9882

View File

@@ -931,6 +931,7 @@ bool read_write_mutex_impl<Mutex>::do_demote_to_read_lock_impl()
throw lock_error();
return false;
}
return false; //Eliminate warnings on some compilers
}
template<typename Mutex>
@@ -1160,6 +1161,7 @@ read_write_lock_state::read_write_lock_state_enum read_write_mutex_impl<Mutex>::
}
else BOOST_ASSERT_ELSE(state == 0)
return read_write_lock_state::unlocked;
return read_write_lock_state::unlocked; //Eliminate warnings on some compilers
}
template<typename Mutex>