]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Initializes uninitialized members of rgw 16855/head
authoramitkuma <amitkuma@redhat.com>
Mon, 7 Aug 2017 10:59:01 +0000 (16:29 +0530)
committeramitkuma <amitkuma@redhat.com>
Thu, 31 Aug 2017 14:24:45 +0000 (19:54 +0530)
commit4bca8f8013c0da31edd1cbbc602d1138f3b6a1ec
tree91d58bdc004960bc185183a0152f7ecde929eead
parent6f00f9a71dd07fdbb7eb02667fde8d4206b9474e
rgw: Initializes uninitialized members of rgw

Fixes the coverity issues:

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

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

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

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/rgw/rgw_common.h
src/rgw/rgw_file.h
src/rgw/rgw_realm_watcher.h