Project

General

Profile

Bug #49359

osd: warning: unused variable

Added by Patrick Donnelly 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

/build/ceph-17.0.0-888-g5ce097b4/src/osd/osd_types.h: In member function 'void object_ref_delta_t::mut_ref(const hobject_t&, int)':
/build/ceph-17.0.0-888-g5ce097b4/src/osd/osd_types.h:5577:35: warning: unused variable '_' [-Wunused-variable]
     [[maybe_unused]] auto [iter, _] = ref_delta.try_emplace(hoid, 0);
                                   ^

From: https://jenkins.ceph.com/job/ceph-dev-build/ARCH=arm64,AVAILABLE_ARCH=arm64,AVAILABLE_DIST=bionic,DIST=bionic,MACHINE_SIZE=gigantic/46981//consoleFull

History

#2 Updated by Neha Ojha 3 months ago

  • Assignee set to Kefu Chai
  • Priority changed from High to Normal

f9f9270d75d3bc6383604addefc2386318ecfc8b was done to fix another warning, definitely not high priority :)

Also available in: Atom PDF