]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_rados: initialize cur_shard 15735/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 16 Jun 2017 17:39:19 +0000 (19:39 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 16 Jun 2017 17:39:19 +0000 (19:39 +0200)
commit1f6dc3795c52f4996fd9e3dc4ac9e7d5e0722957
tree95e9cc67ef6442e450b5bf00e6358ee581ba68e8
parentb4e75a3990c66146424bc24ef8762dd4edb16794
rgw_rados: initialize cur_shard

valgrind reported an uninitialized value on use of cur_shard at a few
places, so explicitly declaring this to 0 as we are incrementing this
later

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_rados.cc