From: Danny Al-Gaaf Date: Thu, 23 Oct 2014 17:52:14 +0000 (+0200) Subject: rgw_rest_client.cc: remove self assignment of new_info.effective_uri X-Git-Tag: v0.88~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6a4380907d9b6ea212d90f3fef1a748959c7dace;p=ceph.git rgw_rest_client.cc: remove self assignment of new_info.effective_uri Signed-off-by: Danny Al-Gaaf Reviewed-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_rest_client.cc b/src/rgw/rgw_rest_client.cc index a24c1f0e8b38..8801e4569cbf 100644 --- a/src/rgw/rgw_rest_client.cc +++ b/src/rgw/rgw_rest_client.cc @@ -406,7 +406,6 @@ int RGWRESTStreamWriteRequest::put_obj_init(RGWAccessKey& key, rgw_obj& obj, uin new_info.script_uri = "/"; new_info.script_uri.append(resource); new_info.request_uri = new_info.script_uri; - new_info.effective_uri = new_info.effective_uri; map& m = new_env.get_map(); map::iterator bliter; @@ -575,7 +574,6 @@ int RGWRESTStreamReadRequest::get_obj(RGWAccessKey& key, map& ex new_info.script_uri = "/"; new_info.script_uri.append(resource); new_info.request_uri = new_info.script_uri; - new_info.effective_uri = new_info.effective_uri; new_info.init_meta_info(NULL);