]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include,messages,rbd: Initialize counter,group_pool 17774/head
authoramitkuma <amitkuma@redhat.com>
Mon, 18 Sep 2017 13:50:23 +0000 (19:20 +0530)
committeramitkuma <amitkuma@redhat.com>
Tue, 26 Sep 2017 18:02:42 +0000 (23:32 +0530)
commitb9ff4510aa6b112b0d0ca0f64002e97aac870a9b
treed775ecccd6a7db22ba47fb95643fa064e827805b
parent28c8e8953c39893978137285a0577cf8c01ebc19
include,messages,rbd: Initialize counter,group_pool

Fixes the coverity issues:

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

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

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/cls/rbd/cls_rbd_types.h
src/include/buffer.h
src/messages/MDataPing.h