]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Initialization of data members 17691/head
authoramitkuma <amitkuma@redhat.com>
Wed, 13 Sep 2017 11:31:08 +0000 (17:01 +0530)
committeramitkuma <amitkuma@redhat.com>
Wed, 22 Nov 2017 15:59:17 +0000 (21:29 +0530)
commitde90bd6283999ed1dc93c9b247f45d5f628fa535
tree302fb6412a6f8ca8e30b2d8bc59b3b4563cfca49
parentc383f03b3ea8bfd641d03c4ca630140607dc20e7
osd: Initialization of data members

Fixes the coverity issues:

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

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

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/osd/ClassHandler.h
src/osd/PG.h