From 018ab6f8e30e3faf02d397eb18cd9b094cac1030 Mon Sep 17 00:00:00 2001 From: Jiaying Ren Date: Wed, 15 Feb 2017 17:33:08 +0800 Subject: [PATCH] rgw: cleanup unused var in rgw/rgw_rest_s3.cc Signed-off-by: Jiaying Ren --- src/rgw/rgw_rest_s3.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 7acaab32d5fa8..8b145b660c9da 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&) { -- 2.39.5