From: Daniel Stenberg Date: Thu, 3 Apr 2025 10:10:45 +0000 (+0200) Subject: http: fix a build error when all auths are disabled X-Git-Tag: curl-8_14_0~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49701094fcc8fc510af97e439ad46415342d367f;p=thirdparty%2Fcurl.git http: fix a build error when all auths are disabled error: ‘result’ undeclared (first use in this function) Found with randdisable Closes #16939 --- diff --git a/lib/http.c b/lib/http.c index 03d1959e29..51515d1fe6 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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; } /**