Avoid "unused variable" warnings.

This commit is contained in:
Gisle Vanem 2005-03-14 09:37:08 +00:00
parent ffd65a1956
commit 76c24a0d82
1 changed files with 2 additions and 0 deletions

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