lib: fix compiler warnings with CURL_DISABLE_VERBOSE_STRINGS

Closes https://github.com/curl/curl/pull/4775
This commit is contained in:
Marcel Raad 2020-01-03 13:30:34 +01:00
parent e24ea706fb
commit 291ed52122
No known key found for this signature in database
GPG key ID: FE4D8BC5EE1701DD
4 changed files with 15 additions and 10 deletions

View file

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -641,7 +641,7 @@ output_auth_headers(struct connectdata *conn,
{
const char *auth = NULL;
CURLcode result = CURLE_OK;
#if !defined(CURL_DISABLE_VERBOSE_STRINGS) || defined(USE_SPNEGO)
#if !defined(CURL_DISABLE_VERBOSE_STRINGS)
struct Curl_easy *data = conn->data;
#endif