]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Silence warning: control reaches end of non-void function
authorJos Collin <jcollin@redhat.com>
Mon, 1 Jul 2019 09:02:33 +0000 (14:32 +0530)
committerNathan Cutler <ncutler@suse.com>
Tue, 19 Nov 2019 16:38:09 +0000 (17:38 +0100)
commite66bcf6412f89f8017c2e4276713023a13ea33b7
tree54ddce0f7fb8d2e34218246441e65e559d40c62c
parent693d6fe278430730fcc1ae6e86b3cef731a068f0
rgw: Silence warning: control reaches end of non-void function

Build shows:
[ 53%] Building CXX object src/mds/CMakeFiles/mds.dir/JournalPointer.cc.o
ceph/src/rgw/rgw_rest_s3.cc: In member function ‘RGWOp* RGWHandler_REST_Bucket_S3::get_obj_op(bool)’:
ceph/src/rgw/rgw_rest_s3.cc:3588:5: warning: control reaches end of non-void function [-Wreturn-type]
   }   }
     ^
Fixes: 4ffc765c4c5debc665ade7769c4647c3a7278fd2
Fixes: http://tracker.ceph.com/issues/40747
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit abb2451dd5164e6b610589207b900a6464e21282)
src/rgw/rgw_rest_s3.cc