Revert "Unused parameter warnings removal"

This reverts commit 5350078543.
This commit is contained in:
Jeff Becker 2016-10-10 08:59:48 -04:00
parent 22250ae552
commit 84ca992e91
16 changed files with 61 additions and 65 deletions

View file

@ -439,7 +439,7 @@ namespace client
}
void I2PServerTunnel::HandleResolve (const boost::system::error_code& ecode, boost::asio::ip::tcp::resolver::iterator it,
std::shared_ptr<boost::asio::ip::tcp::resolver> /*resolver*/)
std::shared_ptr<boost::asio::ip::tcp::resolver> resolver)
{
if (!ecode)
{
@ -724,8 +724,7 @@ namespace client
m_Session = new UDPSession(m_LocalEndpoint, m_LocalDest, ep, m_RemoteIdent, LocalPort, RemotePort);
}
void I2PUDPClientTunnel::HandleRecvFromI2P(const i2p::data::IdentityEx& from, uint16_t /*fromPort*/,
uint16_t /*toPort*/, const uint8_t * buf, size_t len)
void I2PUDPClientTunnel::HandleRecvFromI2P(const i2p::data::IdentityEx& from, uint16_t fromPort, uint16_t toPort, const uint8_t * buf, size_t len)
{
if(m_RemoteIdent && from.GetIdentHash() == *m_RemoteIdent)
{