]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: do not capture unused variables 36642/head
authorKefu Chai <kchai@redhat.com>
Sat, 15 Aug 2020 11:05:46 +0000 (19:05 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 16 Aug 2020 01:38:02 +0000 (09:38 +0800)
commit446cc601a282dcd1b7013fda58854ad81afcca74
treeca72795b6687cc0757e3ac24d9bda8dba5931722
parentb168bc02b3c6349c8d824211e17309db503f873a
crimson/osd: do not capture unused variables

this change silences warnings like

src/crimson/osd/pg_backend.cc:232:34: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
        [&os, &osd_op, &extents, this](auto&& bl) -> read_errorator::future<> {

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg_backend.cc
src/crimson/osd/replicated_recovery_backend.cc