]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: initialize Non-static class member worker in RGWReshard
authorJos Collin <jcollin@redhat.com>
Fri, 23 Jun 2017 15:33:11 +0000 (21:03 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 23 Jun 2017 15:34:35 +0000 (21:04 +0530)
commitbcc86c47d97a59d5fc62b8ef4aa4a94c2fadd78a
tree54275cee2ae16338ef03f5141999a4a1f8c37251
parenteb61a975114e49e98c5f605e45e3031b111a7bfd
rgw: initialize Non-static class member worker in RGWReshard

Fixes the Coverity Scan Report:
CID 1412616 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member worker is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/rgw/rgw_reshard.cc
src/rgw/rgw_reshard.h