mirror of
https://github.com/boostorg/asio.git
synced 2026-01-28 06:42:08 +00:00
Fix unused argument warnings.
[SVN r38791]
This commit is contained in:
@@ -242,7 +242,7 @@ boost::system::error_category error_base<T>::netdb_ecat()
|
||||
}
|
||||
|
||||
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 @@ boost::system::error_category error_base<T>::addrinfo_ecat()
|
||||
}
|
||||
|
||||
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 @@ boost::system::error_category error_base<T>::misc_ecat()
|
||||
}
|
||||
|
||||
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 @@ boost::system::error_category error_base<T>::ssl_ecat()
|
||||
}
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user