Skip to content

Commit 3e5607f

Browse files
committed
Supressed unused variable warning.
1 parent 2028c55 commit 3e5607f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boost/network/protocol/http/client/connection/normal_delegate.ipp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ boost::network::http::impl::normal_delegate::normal_delegate(
2121
void boost::network::http::impl::normal_delegate::connect(
2222
asio::ip::tcp::endpoint &endpoint, std::string host,
2323
function<void(system::error_code const &)> handler) {
24+
25+
(void)host;
26+
2427
socket_.reset(new asio::ip::tcp::socket(service_));
2528
socket_->async_connect(endpoint, handler);
2629
}

0 commit comments

Comments
 (0)