Commit 76c24a0d authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Avoid "unused variable" warnings.

parent ffd65a19
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 */