Bug #20839
/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]
0%
Description
[ 15%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o
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 {