]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: drop deprecated global var 15700/head
authorJiaying Ren <jiaying.ren@umcloud.com>
Sun, 18 Jun 2017 04:06:46 +0000 (12:06 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Sun, 18 Jun 2017 04:06:46 +0000 (12:06 +0800)
Each if (cmd == XXX ) {} block that initialize the local var
`RGWBucketInfo bucket_info` explicitly by invoking `init_bucket()`.

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

index 06cc80d953120198eca4cbb5ea0a8e3387534ac6..25123c6e8c5fe86e983e8d486fa9793413e20fd9 100644 (file)
@@ -2367,7 +2367,6 @@ int main(int argc, const char **argv)
   string bucket_id;
   Formatter *formatter = NULL;
   int purge_data = false;
-  RGWBucketInfo bucket_info;
   int pretty_format = false;
   int show_log_entries = true;
   int show_log_sum = true;