1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Avoid "unused variable" warnings.

This commit is contained in:
Gisle Vanem 2005-03-14 09:37:08 +00:00
parent ffd65a1956
commit 76c24a0d82

View File

@ -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 */