From: Jiaying Ren Date: Wed, 15 Feb 2017 09:33:08 +0000 (+0800) Subject: rgw: cleanup unused var in rgw/rgw_rest_s3.cc X-Git-Tag: v12.0.1~385^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F13434%2Fhead;p=ceph.git rgw: cleanup unused var in rgw/rgw_rest_s3.cc Signed-off-by: Jiaying Ren --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 7acaab32d5fa..8b145b660c9d 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -3561,8 +3561,6 @@ int RGW_Auth_S3::authorize_v4(RGWRados *store, struct req_state *s, bool force_b return -EPERM; } - string algorithm = "AWS4-HMAC-SHA256"; - try { s->aws4_auth = std::unique_ptr(new rgw_aws4_auth); } catch (std::bad_alloc&) {