From bc7e5da3048f719d24c463537d87d210133927df Mon Sep 17 00:00:00 2001 From: Christophe Meessen Date: Mon, 15 Jun 2015 10:11:15 +0200 Subject: [PATCH] comment unused parameter --- server_http.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server_http.hpp b/server_http.hpp index 51b7f95..d91907e 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -67,7 +67,7 @@ namespace SimpleWeb { boost::asio::async_write(*socket, *write_buffer, strand->wrap([socket_, write_buffer, callback, async_writing_, async_timer_, async_waiting_] - (const boost::system::error_code& ec, size_t bytes_transferred) { + (const boost::system::error_code& ec, size_t /*bytes_transferred*/) { *async_writing_=false; if(*async_waiting_) async_timer_->cancel(); @@ -260,7 +260,7 @@ namespace SimpleWeb { boost::asio::async_read(*socket, request->streambuf, boost::asio::transfer_exactly(stoull(request->header["Content-Length"])-num_additional_bytes), [this, socket, request, timer] - (const boost::system::error_code& ec, size_t bytes_transferred) { + (const boost::system::error_code& ec, size_t /*bytes_transferred*/) { if(timeout_content>0) timer->cancel(); if(!ec) @@ -379,4 +379,4 @@ namespace SimpleWeb { } }; } -#endif /* SERVER_HTTP_HPP */ \ No newline at end of file +#endif /* SERVER_HTTP_HPP */