]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
messages,journal: Initialization of stats_period,m_active_set
authoramitkuma <amitkuma@redhat.com>
Tue, 19 Sep 2017 12:31:37 +0000 (18:01 +0530)
committeramitkuma <amitkuma@redhat.com>
Tue, 19 Sep 2017 12:31:37 +0000 (18:01 +0530)
commit19937257cacb4739e5b4b83bcb3ef0975c6934e6
treead7d2a6637fbd35ea4098467deb35b46b8df71a4
parent4639b96cae58a7802708e0c326c5f8c7395bea1e
messages,journal: Initialization of stats_period,m_active_set

Fixes the coverity issues:

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

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

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/journal/JournalPlayer.h
src/messages/MMgrConfigure.h