]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: cleanup unused var in rgw/rgw_rest_s3.cc 13434/head
authorJiaying Ren <mikulely@gmail.com>
Wed, 15 Feb 2017 09:33:08 +0000 (17:33 +0800)
committerJiaying Ren <mikulely@gmail.com>
Wed, 15 Feb 2017 09:33:08 +0000 (17:33 +0800)
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_rest_s3.cc

index 7acaab32d5fa8f0b54fd5b91a563af304fdbb3a7..8b145b660c9daf9e864474698b0c0766530250e2 100644 (file)
@@ -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<rgw_aws4_auth>(new rgw_aws4_auth);
   } catch (std::bad_alloc&) {