From b6d5cb40d7038fe1ed5cda7815a6fe137242289e Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 8 Dec 2015 10:04:52 -0500 Subject: 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 --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3