http: fix a build error when all auths are disabled

error: ‘result’ undeclared (first use in this function)

Found with randdisable

Closes #16939
This commit is contained in:
Daniel Stenberg 2025-04-03 12:10:45 +02:00
parent 8f496d05b6
commit 49701094fc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -1075,12 +1075,12 @@ CURLcode Curl_http_input_auth(struct Curl_easy *data, bool proxy,
break;
Curl_str_passblanks(&auth);
}
return result;
#else
(void) proxy;
/* nothing to do when disabled */
return CURLE_OK;
#endif
return result;
}
/**