]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rados: Intializing members class StriperTest 16843/head
authoramitkuma <amitkuma@redhat.com>
Sun, 6 Aug 2017 16:24:37 +0000 (21:54 +0530)
committeramitkuma <amitkuma@redhat.com>
Sun, 6 Aug 2017 16:24:37 +0000 (21:54 +0530)
commit813537746fc0cdf3dfb9c0b19afbee9de15a6d52
treefad7b1480e681f867055ed31fdd0f7ae4e68bd69
parentf1b1e94494c4afb17003c88094f17ba2d63ccc6f
rados: Intializing members class StriperTest

Fixes the coverity issue:

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/test/libradosstriper/TestCase.h