]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/osd_types: mark unused variable [[maybe_unused]] 37893/head
authorKefu Chai <kchai@redhat.com>
Thu, 29 Oct 2020 10:35:24 +0000 (18:35 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 29 Oct 2020 10:36:13 +0000 (18:36 +0800)
commitf9f9270d75d3bc6383604addefc2386318ecfc8b
treecdbc16800879567d985aea80a84a07307b0498b2
parentf3f688c48fc14eff5d51eebb7064c16a36cfe6aa
osd/osd_types: mark unused variable [[maybe_unused]]

silences warning like:

rc/osd/osd_types.h:5482:18: warning: unused variable '_' [-Wunused-variable]
     auto [iter, _] = ref_delta.try_emplace(hoid, 0);
                  ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/osd_types.h