mirror of
https://github.com/curl/curl.git
synced 2026-05-30 10:17:28 +03:00
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:
parent
8f496d05b6
commit
49701094fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue