]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
messages: Initializing variables various classes 16839/head
authoramitkuma <amitkuma@redhat.com>
Sat, 5 Aug 2017 19:01:28 +0000 (00:31 +0530)
committeramitkuma <amitkuma@redhat.com>
Sat, 5 Aug 2017 19:04:46 +0000 (00:34 +0530)
commit363b46625c26de5475e31c653cb0a7a7e92545dc
treebf1cac1efa078dbecb1fb9b0d2ab756905d3157d
parentf7c4c1377573415a8767a5b5aebc9ea01c6f2f7f
messages: Initializing variables various classes

Fixes the coverity Issues:

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

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

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

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/messages/MMonHealth.h
src/messages/MMonSync.h
src/messages/MOSDMarkMeDown.h
src/messages/MTimeCheck.h