Project

General

Profile

Actions

Bug #21094

closed

warning on rawhide group_pool uninitialized

Added by Amit Kumar over 6 years ago. Updated almost 3 years ago.

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

0%

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

Description

In file included from /root/ceph/src/cls/rbd/cls_rbd_types.cc:5:0:
/root/ceph/src/cls/rbd/cls_rbd_types.h: In member function ‘void cls::rbd::SnapshotNamespaceOnDisk::decode(ceph::buffer::list::iterator&)’:
/root/ceph/src/cls/rbd/cls_rbd_types.h:248:8: warning: ‘<anonymous>.cls::rbd::GroupSnapshotNamespace::group_pool’ may be used uninitialized in this function [-Wmaybe-uninitialized]
struct GroupSnapshotNamespace {
^~~~~~~~~~~~~~~~~~~~
/root/ceph/src/cls/rbd/cls_rbd_types.h:248:8: warning: ‘<anonymous>.cls::rbd::GroupSnapshotNamespace::group_pool’ may be used uninitialized in this function [-Wmaybe-uninitialized]
struct GroupSnapshotNamespace {
^~~~~~~~~~~~~~~~~~~~
/root/ceph/src/cls/rbd/cls_rbd_types.h:248:8: warning: ‘*((void*)(& temp)+8).cls::rbd::GroupSnapshotNamespace::group_pool’ may be used uninitialized in this function [-Wmaybe-uninitialized]
struct GroupSnapshotNamespace {
^~~~~~~~~~~~~~~~~~~~
[ 20%] Building CXX object src/cls/CMakeFiles/cephd_cls_base.dir/rbd/cls_rbd_client.cc.o

Actions #1

Updated by Sage Weil almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF