mirror of
https://github.com/curl/curl.git
synced 2026-05-29 18:47:29 +03:00
url: remove superfluous check
This pointer is already verified to be non-NULL some 15 lines above. Pointed out by CodeSonar Closes #21650
This commit is contained in:
parent
a0f08d6975
commit
44ede0cc5a
1 changed files with 1 additions and 2 deletions
|
|
@ -2200,10 +2200,9 @@ static CURLcode override_login(struct Curl_easy *data,
|
|||
if(result)
|
||||
goto out;
|
||||
}
|
||||
else if(data->state.creds) {
|
||||
else
|
||||
/* only search when something is still missing */
|
||||
Curl_creds_link(&ncreds_in, data->state.creds);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* ignore credentials from other sources */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue