Skip to content

Commit 2f199eb

Browse files
committed
handle_sent_request: comment-out unused function arg (bytes_transferred)
Pollutes end-user build output when calling async_normal.hpp with -Wunused-parameter
1 parent 55fbd1b commit 2f199eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/client/connection/async_normal.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ struct http_async_connection
204204
void handle_sent_request(bool get_body, body_callback_function_type callback,
205205
body_generator_function_type generator,
206206
boost::system::error_code const& ec,
207-
std::size_t bytes_transferred) {
207+
std::size_t /*bytes_transferred*/) { // TODO(unassigned): use-case?
208208
if (!is_timedout_ && !ec) {
209209
if (generator) {
210210
// Here we write some more data that the generator provides, before we

0 commit comments

Comments
 (0)