From: Danny Al-Gaaf Date: Tue, 12 Mar 2013 09:33:26 +0000 (+0100) Subject: rgw/rgw_user.cc: remove unused variables X-Git-Tag: v0.60~96^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=03e0308f3ebc4a0d5e8db6b5bbcf2431af829a47;p=ceph.git rgw/rgw_user.cc: remove unused variables Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_user.cc b/src/rgw/rgw_user.cc index e4dbb56319e..f01b5c21dbb 100644 --- a/src/rgw/rgw_user.cc +++ b/src/rgw/rgw_user.cc @@ -38,9 +38,7 @@ int rgw_store_user_info(RGWRados *store, RGWUserInfo& info, RGWUserInfo *old_inf { bufferlist bl; info.encode(bl); - string md5; int ret; - map attrs; map::iterator iter; for (iter = info.swift_keys.begin(); iter != info.swift_keys.end(); ++iter) { @@ -267,8 +265,6 @@ int rgw_read_user_buckets(RGWRados *store, string user_id, RGWUserBuckets& bucke } } - list buckets_list; - if (need_stats) { map& m = buckets.get_buckets(); int r = store->update_containers_stats(m);