From 6cfa8852076bcf48b3022055c875ef016ed0ebe2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 12 Apr 2017 22:09:44 +0900 Subject: [PATCH] nghttpx: Remove unused lambda capture --- src/shrpx_worker_process.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shrpx_worker_process.cc b/src/shrpx_worker_process.cc index a3e509c7..758f8f2d 100644 --- a/src/shrpx_worker_process.cc +++ b/src/shrpx_worker_process.cc @@ -275,8 +275,7 @@ void memcached_get_ticket_key_cb(struct ev_loop *loop, ev_timer *w, auto req = make_unique(); req->key = "nghttpx:tls-ticket-key"; req->op = MEMCACHED_OP_GET; - req->cb = [conn_handler, dispatcher, w](MemcachedRequest *req, - MemcachedResult res) { + req->cb = [conn_handler, w](MemcachedRequest *req, MemcachedResult res) { switch (res.status_code) { case MEMCACHED_ERR_NO_ERROR: break;