mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:34:45 +03:00
connect/ntlm/http: Fixed compilation warnings when verbose strings disabled
warning C4189: 'data': local variable is initialized but not referenced
This commit is contained in:
parent
89f397d7eb
commit
9351383745
3 changed files with 17 additions and 5 deletions
|
|
@ -567,10 +567,12 @@ output_auth_headers(struct connectdata *conn,
|
|||
{
|
||||
const char *auth = NULL;
|
||||
CURLcode result = CURLE_OK;
|
||||
#if !defined(CURL_DISABLE_VERBOSE_STRINGS) || defined(USE_SPNEGO)
|
||||
struct SessionHandle *data = conn->data;
|
||||
#endif
|
||||
#ifdef USE_SPNEGO
|
||||
struct negotiatedata *negdata = proxy?
|
||||
&data->state.proxyneg:&data->state.negotiate;
|
||||
struct negotiatedata *negdata = proxy ?
|
||||
&data->state.proxyneg : &data->state.negotiate;
|
||||
#endif
|
||||
|
||||
#ifdef CURL_DISABLE_CRYPTO_AUTH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue