From 2f199eb828904fdd8aead3af10dc27ddeb19e9a9 Mon Sep 17 00:00:00 2001 From: anonimal Date: Mon, 21 Nov 2016 23:01:35 +0000 Subject: [PATCH] handle_sent_request: comment-out unused function arg (bytes_transferred) Pollutes end-user build output when calling async_normal.hpp with -Wunused-parameter --- boost/network/protocol/http/client/connection/async_normal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/network/protocol/http/client/connection/async_normal.hpp b/boost/network/protocol/http/client/connection/async_normal.hpp index 048be6b19..fc8afdf66 100644 --- a/boost/network/protocol/http/client/connection/async_normal.hpp +++ b/boost/network/protocol/http/client/connection/async_normal.hpp @@ -204,7 +204,7 @@ struct http_async_connection void handle_sent_request(bool get_body, body_callback_function_type callback, body_generator_function_type generator, boost::system::error_code const& ec, - std::size_t bytes_transferred) { + std::size_t /*bytes_transferred*/) { // TODO(unassigned): use-case? if (!is_timedout_ && !ec) { if (generator) { // Here we write some more data that the generator provides, before we