http_aws_sigv4: remove useless assignment

This code assigned the variable the same value it already had

Spotted by CodeSonar

Closes #13426
This commit is contained in:
Daniel Stenberg 2024-04-19 14:12:36 +02:00
parent 51a3b9f8b3
commit ac49152e26
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -158,10 +158,7 @@ static CURLcode make_headers(struct Curl_easy *data,
msnprintf(date_full_hdr, DATE_FULL_HDR_LEN,
"x-%s-date:%s", provider1, timestamp);
if(Curl_checkheaders(data, STRCONST("Host"))) {
head = NULL;
}
else {
if(!Curl_checkheaders(data, STRCONST("Host"))) {
char full_host[FULL_HOST_LEN + 1];
if(data->state.aptr.host) {