]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: do not capture unused variable 42705/head
authorKefu Chai <kchai@redhat.com>
Fri, 6 Aug 2021 16:42:31 +0000 (00:42 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 6 Aug 2021 16:42:31 +0000 (00:42 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/onode_manager/staged-fltree/tree_utils.h

index f213d8429cf0df6c86e7649b241bdc4a1cb6def8..9015520917b7ffca9c6d60148a569cdc6c76df31 100644 (file)
@@ -433,7 +433,7 @@ class TreeBuilder {
               seastar::stop_iteration::yes);
           }
           auto p_kv = **ref_kv_iter;
-          return tree->find(t, p_kv->key).si_then([this, cursors, ref_kv_iter](auto cursor) {
+          return tree->find(t, p_kv->key).si_then([cursors, ref_kv_iter](auto cursor) {
             auto p_kv = **ref_kv_iter;
             validate_cursor_from_item(p_kv->key, p_kv->value, cursor);
             cursors->emplace(p_kv->key, cursor);