Skip to content

Commit

Permalink
Merge pull request #13434 from mikulely/cleanup-rgw-auth
Browse files Browse the repository at this point in the history
rgw: cleanup unused var in rgw/rgw_rest_s3.cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Feb 15, 2017
2 parents 4f94a6e + 018ab6f commit 5c9573a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rgw/rgw_rest_s3.cc
Expand Up @@ -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&) {
Expand Down

0 comments on commit 5c9573a

Please sign in to comment.