netrc: remove the two 'changed' arguments

As no user of these functions used the returned content.
This commit is contained in:
Daniel Stenberg 2022-10-13 14:59:34 +02:00
parent c4715b1c92
commit 57e2bb52aa
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 15 additions and 52 deletions

View file

@ -2996,8 +2996,6 @@ static CURLcode override_login(struct Curl_easy *data,
char **userp = &conn->user;
char **passwdp = &conn->passwd;
char **optionsp = &conn->options;
bool netrc_user_changed = FALSE;
bool netrc_passwd_changed = FALSE;
if(data->set.str[STRING_OPTIONS]) {
free(*optionsp);
@ -3024,7 +3022,6 @@ static CURLcode override_login(struct Curl_easy *data,
ret = Curl_parsenetrc(conn->host.name,
userp, passwdp,
&netrc_user_changed, &netrc_passwd_changed,
data->set.str[STRING_NETRC_FILE]);
if(ret > 0) {
infof(data, "Couldn't find host %s in the %s file; using defaults",