]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: silence compile warning in the rgw_rest.cc
authorJiaying Ren <jiaying.ren@umcloud.com>
Thu, 29 Jun 2017 04:39:31 +0000 (12:39 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Tue, 4 Jul 2017 07:25:45 +0000 (15:25 +0800)
commitac52531b0db5b6c8d91bf2ed206221a928e411a9
tree788bb42485bdadfa1d596ea9dc1cf6e8e3a6c44a
parent97bb9976c855bafe62d4bdfad1601d346f45fd2c
rgw: silence compile warning in the rgw_rest.cc

/root/jiaying/ceph/src/rgw/rgw_rest.cc: In member function ‘virtual int
RGWHandler_REST::read_permissions(RGWOp*)’:
/root/jiaying/ceph/src/rgw/rgw_rest.cc:1919:8: warning: ‘only_bucket’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
   bool only_bucket;
           ^
   [100%] Building CXX ob

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_rest.cc