]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unused variables
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 5 Nov 2013 21:01:04 +0000 (22:01 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 7 Nov 2013 22:31:15 +0000 (23:31 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_quota.cc
src/rgw/rgw_rest_metadata.cc

index 66609ca723c285e255e3dbf4d5431c31eb394a7a..89611f585876940b367a88107ae8237028b80c8f 100644 (file)
@@ -126,7 +126,6 @@ public:
 int AsyncRefreshHandler::init_fetch()
 {
   ldout(store->ctx(), 20) << "initiating async quota refresh for bucket=" << bucket << dendl;
-  map<RGWObjCategory, RGWBucketStats> bucket_stats;
   int r = store->get_bucket_stats_async(bucket, this);
   if (r < 0) {
     ldout(store->ctx(), 0) << "could not get bucket info for bucket=" << bucket.name << dendl;
index 5036235ebd2b68efbc9510043425f9a0391831ef..afd5c7b6cc055b02919137e14e6641114c24621d 100644 (file)
@@ -31,7 +31,6 @@ static inline void frame_metadata_key(req_state *s, string& out) {
   bool exists;
   string key = s->info.args.get("key", &exists);
 
-  string metadata_key;
   string section;
   if (!s->bucket_name_str.empty()) {
     section = s->bucket_name_str;