Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60883 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2010-03-27 19:04:57


Author: chris_kohlhoff
Date: 2010-03-27 19:04:56 EDT (Sat, 27 Mar 2010)
New Revision: 60883
URL: http://svn.boost.org/trac/boost/changeset/60883

Log:
Fix unused variable warnings.

Text files modified:
   trunk/boost/asio/detail/win_iocp_handle_service.hpp | 2 ++
   trunk/boost/asio/detail/win_iocp_socket_service.hpp | 2 ++
   2 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/asio/detail/win_iocp_handle_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_handle_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_handle_service.hpp 2010-03-27 19:04:56 EDT (Sat, 27 Mar 2010)
@@ -698,6 +698,8 @@
       impl.safe_cancellation_thread_id_ = ::GetCurrentThreadId();
     else if (impl.safe_cancellation_thread_id_ != ::GetCurrentThreadId())
       impl.safe_cancellation_thread_id_ = ~DWORD(0);
+#else // defined(BOOST_ASIO_ENABLE_CANCELIO)
+ (void)impl;
 #endif // defined(BOOST_ASIO_ENABLE_CANCELIO)
   }
 

Modified: trunk/boost/asio/detail/win_iocp_socket_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_socket_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_socket_service.hpp 2010-03-27 19:04:56 EDT (Sat, 27 Mar 2010)
@@ -1934,6 +1934,8 @@
       impl.safe_cancellation_thread_id_ = ::GetCurrentThreadId();
     else if (impl.safe_cancellation_thread_id_ != ::GetCurrentThreadId())
       impl.safe_cancellation_thread_id_ = ~DWORD(0);
+#else // defined(BOOST_ASIO_ENABLE_CANCELIO)
+ (void)impl;
 #endif // defined(BOOST_ASIO_ENABLE_CANCELIO)
   }
 


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