From ceefddd332e454425e4d98d8093c0fb0a81dd13a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 7 Mar 2015 01:39:25 +0900 Subject: [PATCH] asio: Remove unused captured variable --- examples/asio-cl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/asio-cl.cc b/examples/asio-cl.cc index a4dc2e72..9d31d54c 100644 --- a/examples/asio-cl.cc +++ b/examples/asio-cl.cc @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) { return; } - req->on_response([&sess, req](const response &res) { + req->on_response([&sess](const response &res) { std::cerr << "HTTP/2 " << res.status_code() << std::endl; for (auto &kv : res.header()) { std::cerr << kv.first << ": " << kv.second.value << "\n";