Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-08-20 10:32:06


Author: chris_kohlhoff
Date: 2007-08-20 10:32:05 EDT (Mon, 20 Aug 2007)
New Revision: 38791
URL: http://svn.boost.org/trac/boost/changeset/38791

Log:
Fix unused argument warnings.

Text files modified:
   trunk/boost/asio/error.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/asio/error.hpp
==============================================================================
--- trunk/boost/asio/error.hpp (original)
+++ trunk/boost/asio/error.hpp 2007-08-20 10:32:05 EDT (Mon, 20 Aug 2007)
@@ -242,7 +242,7 @@
 }
 
 template <typename T>
-int error_base<T>::netdb_ed(const boost::system::error_code& ec)
+int error_base<T>::netdb_ed(const boost::system::error_code&)
 {
   return EOTHER;
 }
@@ -286,7 +286,7 @@
 }
 
 template <typename T>
-int error_base<T>::addrinfo_ed(const boost::system::error_code& ec)
+int error_base<T>::addrinfo_ed(const boost::system::error_code&)
 {
   return EOTHER;
 }
@@ -324,7 +324,7 @@
 }
 
 template <typename T>
-int error_base<T>::misc_ed(const boost::system::error_code& ec)
+int error_base<T>::misc_ed(const boost::system::error_code&)
 {
   return EOTHER;
 }
@@ -364,20 +364,20 @@
 }
 
 template <typename T>
-int error_base<T>::ssl_ed(const boost::system::error_code& ec)
+int error_base<T>::ssl_ed(const boost::system::error_code&)
 {
   return EOTHER;
 }
 
 template <typename T>
-std::string error_base<T>::ssl_md(const boost::system::error_code& ec)
+std::string error_base<T>::ssl_md(const boost::system::error_code&)
 {
   return "SSL error";
 }
 
 template <typename T>
 boost::system::wstring_t error_base<T>::ssl_wmd(
- const boost::system::error_code& ec)
+ const boost::system::error_code&)
 {
   return L"SSL error";
 }


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