]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: do not capture unused variables
authorKefu Chai <kchai@redhat.com>
Sat, 11 Jan 2020 08:07:42 +0000 (16:07 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 11 Jan 2020 15:12:27 +0000 (23:12 +0800)
commit3fb6cea2fb6edf07d7895fd451855bff722401bd
treebafd3e52d0c2b162a87208c9f8a0bed8bd072cad
parent1c7742d141c60771775a696ff5fe828ce821365e
crimson: do not capture unused variables

this silences warnings from clang:

src/crimson/osd/heartbeat.cc:109:14: warning: lambda capture 'this' is
not used [-Wunused-lambda-capture]
      .then([this, &info=peer_info->second] (auto xcon_front, auto
xcon_back) {
             ^~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/net/ProtocolV1.cc
src/crimson/net/ProtocolV2.cc
src/crimson/osd/heartbeat.cc
src/crimson/osd/osd.cc
src/crimson/osd/pg_backend.cc
src/crimson/osd/pg_meta.cc