From 69e52a9882cdacb7bfdd7767ac2f6c7201b6a444 Mon Sep 17 00:00:00 2001 From: Michael Glassford Date: Tue, 3 May 2005 20:42:09 +0000 Subject: [PATCH] Fix CW 8.3 warnings. [SVN r28638] --- src/read_write_mutex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/read_write_mutex.cpp b/src/read_write_mutex.cpp index 696eafd9..72d00bcf 100644 --- a/src/read_write_mutex.cpp +++ b/src/read_write_mutex.cpp @@ -931,6 +931,7 @@ bool read_write_mutex_impl::do_demote_to_read_lock_impl() throw lock_error(); return false; } + return false; //Eliminate warnings on some compilers } template @@ -1160,6 +1161,7 @@ read_write_lock_state::read_write_lock_state_enum read_write_mutex_impl:: } else BOOST_ASSERT_ELSE(state == 0) return read_write_lock_state::unlocked; + return read_write_lock_state::unlocked; //Eliminate warnings on some compilers } template