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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy