]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/rgw_rados.cc: remove unused variables
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 12 Mar 2013 09:16:45 +0000 (10:16 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 12 Mar 2013 15:59:42 +0000 (16:59 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_rados.cc

index c0a9e3daad779e18aed855067ceade0e4aa7dc6f..f2e32d948765ae29730d1bf7c221ad1e900cef07 100644 (file)
@@ -974,7 +974,6 @@ int RGWRados::list_placement_set(set<string>& names)
 {
   bufferlist header;
   map<string, bufferlist> m;
-  string pool_name;
 
   rgw_obj obj(params.domain_root, avail_pools);
   int ret = omap_get_all(obj, header, m);
@@ -1258,7 +1257,6 @@ int RGWRados::copy_obj(void *ctx,
   int ret;
   uint64_t total_len, obj_size;
   time_t lastmod;
-  map<string, bufferlist>::iterator iter;
   rgw_obj shadow_obj = dest_obj;
   string shadow_oid;
 
@@ -3869,9 +3867,7 @@ int RGWRados::remove_temp_objects(string date, string time)
   }
   time_t epoch = mktime(&tm);
 
-  string prefix, delim, marker;
   vector<RGWObjEnt> objs;
-  map<string, bool> common_prefixes;
   
   int max = 1000;
   bool is_truncated;