From 9df7f38577256b992ed4eb93c6d4dbede8ebbbcf Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Mon, 20 Aug 2007 14:32:05 +0000 Subject: [PATCH] Fix unused argument warnings. [SVN r38791] --- include/boost/asio/error.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/asio/error.hpp b/include/boost/asio/error.hpp index 324fcc4c..4c508797 100644 --- a/include/boost/asio/error.hpp +++ b/include/boost/asio/error.hpp @@ -242,7 +242,7 @@ boost::system::error_category error_base::netdb_ecat() } template -int error_base::netdb_ed(const boost::system::error_code& ec) +int error_base::netdb_ed(const boost::system::error_code&) { return EOTHER; } @@ -286,7 +286,7 @@ boost::system::error_category error_base::addrinfo_ecat() } template -int error_base::addrinfo_ed(const boost::system::error_code& ec) +int error_base::addrinfo_ed(const boost::system::error_code&) { return EOTHER; } @@ -324,7 +324,7 @@ boost::system::error_category error_base::misc_ecat() } template -int error_base::misc_ed(const boost::system::error_code& ec) +int error_base::misc_ed(const boost::system::error_code&) { return EOTHER; } @@ -364,20 +364,20 @@ boost::system::error_category error_base::ssl_ecat() } template -int error_base::ssl_ed(const boost::system::error_code& ec) +int error_base::ssl_ed(const boost::system::error_code&) { return EOTHER; } template -std::string error_base::ssl_md(const boost::system::error_code& ec) +std::string error_base::ssl_md(const boost::system::error_code&) { return "SSL error"; } template boost::system::wstring_t error_base::ssl_wmd( - const boost::system::error_code& ec) + const boost::system::error_code&) { return L"SSL error"; }