]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg: Initializing class members in module msg 17568/head
authoramitkuma <amitkuma@redhat.com>
Thu, 7 Sep 2017 18:51:35 +0000 (00:21 +0530)
committeramitkuma <amitkuma@redhat.com>
Thu, 7 Sep 2017 18:51:35 +0000 (00:21 +0530)
commit660ab813b25859de84020cf6a6affb23f4fdbc63
tree5524ace7da13abcb34903e336e72090415046f2c
parentb0f1545d3b6f2f31d5aaeca64cb71ba582a88948
msg: Initializing class members in module msg

Fixes the coverity issues:

** 1414530 Uninitialized pointer field
2. uninit_member: Non-static class member tx_cq is not initialized
in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member rx_cq is not initialized
in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member tx_cc is not initialized
in this constructor nor in any functions that it calls.
CID 1414530 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
8. uninit_member: Non-static class member rx_cc is not initialized
in this constructor nor in any functions that it calls.

** 1416369 Uninitialized pointer field
CID 1416369 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
4. uninit_member: Non-static class member send is not initialized
in this constructor nor in any functions that it calls.

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

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/msg/DispatchStrategy.h
src/msg/async/rdma/Infiniband.h
src/msg/async/rdma/RDMAStack.h