Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2007-11-05 11:47:26


Author: anthonyw
Date: 2007-11-05 11:47:25 EST (Mon, 05 Nov 2007)
New Revision: 40792
URL: http://svn.boost.org/trac/boost/changeset/40792

Log:
Use BOOST_VERIFY instead of BOOST_ASSERT in many places in order to avoid unused variable warnings
Text files modified:
   trunk/libs/thread/src/win32/thread.cpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/libs/thread/src/win32/thread.cpp
==============================================================================
--- trunk/libs/thread/src/win32/thread.cpp (original)
+++ trunk/libs/thread/src/win32/thread.cpp 2007-11-05 11:47:25 EST (Mon, 05 Nov 2007)
@@ -58,8 +58,7 @@
         void set_current_thread_data(detail::thread_data_base* new_data)
         {
             boost::call_once(current_thread_tls_init_flag,create_current_thread_tls_key);
- BOOL const res=TlsSetValue(current_thread_tls_key,new_data);
- BOOST_ASSERT(res);
+ BOOST_VERIFY(TlsSetValue(current_thread_tls_key,new_data));
         }
 #endif
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk