]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: do not capture unused variables
authorKefu Chai <kchai@redhat.com>
Thu, 16 Jul 2020 12:40:16 +0000 (20:40 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Jul 2020 12:49:28 +0000 (20:49 +0800)
commit1b8cdbee021ada4d8595905b3ee09dd5d8b675a2
tree7ab5dd41693db688fdb3816ef6bfe3295a3903da
parent8cbf627745308052b2d98303db2eb7526529f648
crimson: do not capture unused variables

this change silences warnings like:

mson/osd/backfill_state.cc:131:11: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
      [&, this](const pg_log_entry_t& e) {
        ~~^~~~

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