]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Initializing start_offset,last_offset,offset 19333/head
authoramitkuma <amitkuma@redhat.com>
Tue, 5 Dec 2017 15:31:52 +0000 (21:01 +0530)
committeramitkuma <amitkuma@redhat.com>
Tue, 5 Dec 2017 15:31:52 +0000 (21:01 +0530)
commit2622830c75af3241d516aa25492141bce7c76220
treea486b115d4d3915fbd98c3f82f58c4089e6f3259
parent4a0186ee300b406c3003e22612465dea4287e1a4
osd: Initializing start_offset,last_offset,offset

Fixes the coverity issues:

2. uninit_member: Non-static class member start_offset
is not initialized in this constructor nor in any functions
that it calls.

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

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

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