From: Gisle Vanem Date: Mon, 14 Mar 2005 09:37:08 +0000 (+0000) Subject: Avoid "unused variable" warnings. X-Git-Tag: curl-7_13_2~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76c24a0d82b54a406fb65b57f5caa6d8d47373cf;p=curl Avoid "unused variable" warnings. --- diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index cc04cef51..679289db6 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -330,10 +330,12 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, { const char *domain=""; /* empty */ const char *host=""; /* empty */ +#ifndef USE_WINDOWS_SSPI int domlen=(int)strlen(domain); int hostlen = (int)strlen(host); int hostoff; /* host name offset */ int domoff; /* domain name offset */ +#endif size_t size; char *base64=NULL; unsigned char ntlmbuf[256]; /* enough, unless the host/domain is very long */