build: drop redundant unused variable suppressions

Also:
- digest_sspi: merge some `ifdef`s.

Closes #20310
This commit is contained in:
Viktor Szakats 2026-01-14 03:46:19 +01:00
parent 134fb66121
commit 59a5fd8518
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
33 changed files with 13 additions and 96 deletions

View file

@ -2053,9 +2053,6 @@ static char *detect_proxy(struct Curl_easy *data,
*/
char proxy_env[20];
const char *envp = proxy_env;
#ifdef CURL_DISABLE_VERBOSE_STRINGS
(void)data;
#endif
curl_msnprintf(proxy_env, sizeof(proxy_env), "%s_proxy",
conn->handler->scheme);
@ -2832,10 +2829,6 @@ static CURLcode parse_connect_to_host_port(struct Curl_easy *data,
int port = -1;
CURLcode result = CURLE_OK;
#ifdef CURL_DISABLE_VERBOSE_STRINGS
(void)data;
#endif
*hostname_result = NULL;
*port_result = -1;