From: Christian Stewart Date: Tue, 8 Dec 2015 15:04:52 +0000 (-0500) Subject: build: fix compilation error with CURL_DISABLE_VERBOSE_STRINGS X-Git-Tag: curl-7_47_0~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6d5cb40d7038fe;p=curl build: fix compilation error with CURL_DISABLE_VERBOSE_STRINGS With curl disable verbose strings in http.c the compilation fails due to the data variable being undefined later on in the function. Closes #558 --- diff --git a/lib/http.c b/lib/http.c index 49b7d6b9c..28a1a8d63 100644 --- a/lib/http.c +++ b/lib/http.c @@ -567,7 +567,7 @@ output_auth_headers(struct connectdata *conn, { const char *auth = NULL; CURLcode result = CURLE_OK; -#if defined(USE_SPNEGO) || !defined(CURL_DISABLE_VERBOSE_STRINGS) +#if defined(USE_SPNEGO) struct SessionHandle *data = conn->data; #endif #ifdef USE_SPNEGO