]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages: Initializing members in MOSDPGUpdateLogMissing 16928/head
authoramitkuma <amitkuma@redhat.com>
Wed, 9 Aug 2017 10:11:59 +0000 (15:41 +0530)
committeramitkuma <amitkuma@redhat.com>
Wed, 9 Aug 2017 10:11:59 +0000 (15:41 +0530)
commita07edfff6bd5e5b8249e38097dd78cd97d34d685
tree7b4979926f4f36509a124fc862efd6692d7fa256
parent8a09edd19673c92b2aa4e580e15a7f8f6faea463
messages: Initializing members in MOSDPGUpdateLogMissing

Fixes the coverity issues:

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

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/messages/MOSDPGUpdateLogMissing.h
src/messages/MOSDPGUpdateLogMissingReply.h