]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: rgw_op: remove unused variable iter 14276/head
authorWeibing Zhang <atheism.zhang@gmail.com>
Sat, 1 Apr 2017 03:52:59 +0000 (11:52 +0800)
committerWeibing Zhang <atheism.zhang@gmail.com>
Sat, 1 Apr 2017 03:52:59 +0000 (11:52 +0800)
    The variable iter is not used in  RGWInitMultipart::execute().

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
src/rgw/rgw_op.cc

index a000aaffc41a7b9835a960aaf77bf48651768f41..b9ec2817d3e44f11d508787269d76c2332aa9c5e 100644 (file)
@@ -4594,7 +4594,6 @@ void RGWInitMultipart::execute()
   bufferlist aclbl;
   map<string, bufferlist> attrs;
   rgw_obj obj;
-  map<string, string>::iterator iter;
 
   if (get_params() < 0)
     return;