]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Initialization of members rgw_sync, rgw_rados
authoramitkuma <amitkuma@redhat.com>
Wed, 9 Aug 2017 10:26:30 +0000 (15:56 +0530)
committeramitkuma <amitkuma@redhat.com>
Wed, 9 Aug 2017 10:26:30 +0000 (15:56 +0530)
commited39f3cb350e98c4f29ad2e13b2e43f93b60f745
treeacaf1fab35ca59c5b367b59488099dce661b8cc4
parent8a09edd19673c92b2aa4e580e15a7f8f6faea463
rgw: Initialization of members rgw_sync, rgw_rados

Fixes the coverity issues:

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

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/rgw/rgw_rados.h
src/rgw/rgw_sync.h