]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix error handling in get_params() of RGWPostObj_ObjStore_S3. 15670/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 13 Jun 2017 10:57:16 +0000 (12:57 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 13 Jun 2017 13:28:51 +0000 (15:28 +0200)
commit7cd7d37af672a2891196218138dedc92abb5034f
tree2a4b6100aeaf86ca330fd9f4bf352a39b60b603e
parent1031f90219b42047cf3e4eb92dec027b37b516c5
rgw: fix error handling in get_params() of RGWPostObj_ObjStore_S3.

The recent Static Analysis for Ceph (linked 13 June 2017 on
ceph-devel) shows that the get_params method of RGWPostObj_ObjStore
assigns to a variable but doesn't use it later. The anomaly is
caused by lack of proper error handling. This commit rectifies it.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_rest_s3.cc