From 03e0308f3ebc4a0d5e8db6b5bbcf2431af829a47 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 12 Mar 2013 10:33:26 +0100 Subject: [PATCH] rgw/rgw_user.cc: remove unused variables Signed-off-by: Danny Al-Gaaf --- src/rgw/rgw_user.cc | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.47.3