]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: Initializing member variables
authoramitkuma <amitkuma@redhat.com>
Mon, 7 Aug 2017 17:46:08 +0000 (23:16 +0530)
committeramitkuma <amitkuma@redhat.com>
Mon, 7 Aug 2017 17:46:08 +0000 (23:16 +0530)
commit2e887e729d6f35159ff200c02faee4eecf458919
treede9b1c644cb31d7a846fcecd76df05660807907f
parente5da05f8f7a53c3f4dd184fa4b5d813d16b06056
librbd: Initializing member variables

Fixes the coverity issues:

** 1351727 Uninitialized scalar field
CID 1351727 (#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.

** 1351728 Uninitialized scalar field
CID 1351728 (#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.

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/librbd/WatchNotifyTypes.h
src/librbd/operation/FlattenRequest.h
src/librbd/operation/RebuildObjectMapRequest.h