mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Avoid "unused variable" warnings.
This commit is contained in:
parent
ffd65a1956
commit
76c24a0d82
@ -330,10 +330,12 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
|
|||||||
{
|
{
|
||||||
const char *domain=""; /* empty */
|
const char *domain=""; /* empty */
|
||||||
const char *host=""; /* empty */
|
const char *host=""; /* empty */
|
||||||
|
#ifndef USE_WINDOWS_SSPI
|
||||||
int domlen=(int)strlen(domain);
|
int domlen=(int)strlen(domain);
|
||||||
int hostlen = (int)strlen(host);
|
int hostlen = (int)strlen(host);
|
||||||
int hostoff; /* host name offset */
|
int hostoff; /* host name offset */
|
||||||
int domoff; /* domain name offset */
|
int domoff; /* domain name offset */
|
||||||
|
#endif
|
||||||
size_t size;
|
size_t size;
|
||||||
char *base64=NULL;
|
char *base64=NULL;
|
||||||
unsigned char ntlmbuf[256]; /* enough, unless the host/domain is very long */
|
unsigned char ntlmbuf[256]; /* enough, unless the host/domain is very long */
|
||||||
|
Loading…
Reference in New Issue
Block a user