]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls_rbd: Silence gcc7 maybe-uninitialized warning
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 24 Oct 2017 00:55:46 +0000 (10:55 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Wed, 1 Nov 2017 03:47:55 +0000 (13:47 +1000)
commit772880f63c2eebc7e6302f3bb56d235f587367fa
treea13540614238bc58a9ac47d21280cb19e038702b
parenta9baa8b33ae3799ff8340ec71a3678f7c92c33cd
cls_rbd: Silence gcc7 maybe-uninitialized warning

gcc7 warns that GroupSnapshotNamespace::group_pool may be used
uninitialized in SnapshotNamespaceOnDisk::decode. Reordering the member
variables silences the spurious warning.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/cls/rbd/cls_rbd_types.h