summaryrefslogtreecommitdiffstats
path: root/src/crimson/os/seastore/omap_manager
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2021-05-07 06:59:14 +0200
committerKefu Chai <kchai@redhat.com>2021-05-07 07:55:48 +0200
commit88e7356af157a788589f4a17e517bcb98f53578a (patch)
treec0b5d4c42779426e64200328e38119d06bf645ed /src/crimson/os/seastore/omap_manager
parentMerge pull request #41211 from neha-ojha/wip-remove-mon-election (diff)
downloadceph-88e7356af157a788589f4a17e517bcb98f53578a.tar.xz
ceph-88e7356af157a788589f4a17e517bcb98f53578a.zip
crimson/os/seastore: do not capture unused variable
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/crimson/os/seastore/omap_manager')
-rw-r--r--src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc b/src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc
index 1acde960b4e..cd8bf0b3d32 100644
--- a/src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc
+++ b/src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc
@@ -224,7 +224,7 @@ OMapInnerNode::list(
oc,
start,
config.with_reduced_max(result.size())
- ).safe_then([&, config, this](auto &&child_ret) mutable {
+ ).safe_then([&, config](auto &&child_ret) mutable {
auto &[child_complete, child_result] = child_ret;
if (result.size() && child_result.size()) {
assert(child_result.begin()->first > result.rbegin()->first);