From: Danny Al-Gaaf Date: Tue, 5 Nov 2013 21:01:04 +0000 (+0100) Subject: rgw: remove unused variables X-Git-Tag: v0.74~90^2~1^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0da5a019f55b66c71216c39e88b61ca9363940eb;p=ceph.git rgw: remove unused variables Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_quota.cc b/src/rgw/rgw_quota.cc index 66609ca723c28..89611f5858769 100644 --- a/src/rgw/rgw_quota.cc +++ b/src/rgw/rgw_quota.cc @@ -126,7 +126,6 @@ public: int AsyncRefreshHandler::init_fetch() { ldout(store->ctx(), 20) << "initiating async quota refresh for bucket=" << bucket << dendl; - map 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; diff --git a/src/rgw/rgw_rest_metadata.cc b/src/rgw/rgw_rest_metadata.cc index 5036235ebd2b6..afd5c7b6cc055 100644 --- a/src/rgw/rgw_rest_metadata.cc +++ b/src/rgw/rgw_rest_metadata.cc @@ -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;