nghttpx: Remove unused lambda capture
This commit is contained in:
parent
899588e0b5
commit
6cfa885207
|
@ -275,8 +275,7 @@ void memcached_get_ticket_key_cb(struct ev_loop *loop, ev_timer *w,
|
||||||
auto req = make_unique<MemcachedRequest>();
|
auto req = make_unique<MemcachedRequest>();
|
||||||
req->key = "nghttpx:tls-ticket-key";
|
req->key = "nghttpx:tls-ticket-key";
|
||||||
req->op = MEMCACHED_OP_GET;
|
req->op = MEMCACHED_OP_GET;
|
||||||
req->cb = [conn_handler, dispatcher, w](MemcachedRequest *req,
|
req->cb = [conn_handler, w](MemcachedRequest *req, MemcachedResult res) {
|
||||||
MemcachedResult res) {
|
|
||||||
switch (res.status_code) {
|
switch (res.status_code) {
|
||||||
case MEMCACHED_ERR_NO_ERROR:
|
case MEMCACHED_ERR_NO_ERROR:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue