From: Samuel Just Date: Tue, 19 May 2020 15:51:55 +0000 (-0700) Subject: crimson/os: remove some unnecessary lambda captures X-Git-Tag: v16.1.0~2296^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2e1abe17163d6b11da8999ee0c173fb00510249f;p=ceph.git crimson/os: remove some unnecessary lambda captures Signed-off-by: Samuel Just --- diff --git a/src/crimson/os/alienstore/alien_store.cc b/src/crimson/os/alienstore/alien_store.cc index 041b48388bc..6a66a6f0626 100644 --- a/src/crimson/os/alienstore/alien_store.cc +++ b/src/crimson/os/alienstore/alien_store.cc @@ -256,7 +256,7 @@ AlienStore::get_attr(CollectionRef ch, auto c =static_cast(ch.get()); return store->getattr(c->collection, oid, static_cast(name).c_str(), value); - }).then([oid, name, &value] (int r) -> get_attr_errorator::future { + }).then([oid, &value] (int r) -> get_attr_errorator::future { if (r == -ENOENT) { return crimson::ct_error::enoent::make(); } else if (r == -ENODATA) {