]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/rados: remove meaningless assignment operation 9540/head
authorYan Jun <yan.jun8@zte.com.cn>
Tue, 7 Jun 2016 11:42:10 +0000 (19:42 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Tue, 7 Jun 2016 11:42:10 +0000 (19:42 +0800)
manifest_bl here was assigned but never been used, so we can remove it.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/rgw/rgw_rados.cc

index 950242f50e0b0424ece14b82ac77007e5d984516..56332e882fdf5213dbbff5151b11cc94b572c62e 100644 (file)
@@ -7768,9 +7768,9 @@ int RGWRados::get_system_obj_state_impl(RGWObjectCtx *rctx, rgw_obj& obj, RGWObj
   s->has_attrs = true;
   s->obj_tag = s->attrset[RGW_ATTR_ID_TAG];
 
-  bufferlist manifest_bl = s->attrset[RGW_ATTR_MANIFEST];
   if (s->obj_tag.length())
-    ldout(cct, 20) << "get_system_obj_state: setting s->obj_tag to " << string(s->obj_tag.c_str(), s->obj_tag.length()) << dendl;
+    ldout(cct, 20) << "get_system_obj_state: setting s->obj_tag to " 
+                   << string(s->obj_tag.c_str(), s->obj_tag.length()) << dendl;
   else
     ldout(cct, 20) << "get_system_obj_state: s->obj_tag was set empty" << dendl;