]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: Initialization of state inside module
authoramitkuma <amitkuma@redhat.com>
Mon, 7 Aug 2017 17:31:12 +0000 (23:01 +0530)
committeramitkuma <amitkuma@redhat.com>
Mon, 7 Aug 2017 17:31:12 +0000 (23:01 +0530)
commitac631f6d583e73f9dfb7f67fdfe638f97604d8e4
tree3cd118d9fc8da7129ff2af0d044b6c193d46e1e2
parente5da05f8f7a53c3f4dd184fa4b5d813d16b06056
librbd: Initialization of state inside module

Fixes the coverity issues:

** 1351715 Uninitialized scalar field
5. uninit_member: Non-static class member m_state is not initialized in this
constructor nor in any functions that it calls.
7. uninit_member: Non-static class member m_copyup_start is not initialized
in this constructor nor in any functions that it calls.
CID 1351715 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
9. uninit_member: Non-static class member m_copyup_end is not initialized
in this constructor nor in any functions that it calls.

** 1351724 Uninitialized scalar field
CID 1351724 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member m_state is not initialized in
this constructor nor in any functions that it calls.

** 1351725 Uninitialized scalar field
CID 1351725 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member m_state is not initialized in
this constructor nor in any functions that it calls.

** 1351726 Uninitialized scalar field
CID 1351726 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
3. uninit_member: Non-static class member m_state is not initialized in
this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/librbd/object_map/SnapshotCreateRequest.h
src/librbd/object_map/SnapshotRemoveRequest.h
src/librbd/object_map/SnapshotRollbackRequest.h
src/librbd/operation/TrimRequest.h