]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test: Initializing ChunkReadOp members
authoramitkuma <amitkuma@redhat.com>
Tue, 5 Dec 2017 15:38:53 +0000 (21:08 +0530)
committeramitkuma <amitkuma@redhat.com>
Tue, 5 Dec 2017 15:38:53 +0000 (21:08 +0530)
commit1bed1927c7be83d4f785dad73a9dad2aa019ba84
treea72d8cc8f3f63eac2534cb48e83c042379dc68ae
parent4a0186ee300b406c3003e22612465dea4287e1a4
test: Initializing ChunkReadOp members

Fixes the coverity issue:
2. uninit_member: Non-static class member offset is not
initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member length is not
initialized in this constructor nor in any functions that it calls.

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

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