mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
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:
parent
51a3b9f8b3
commit
ac49152e26
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user