]> granicus.if.org Git - curl/commitdiff
build: fix compilation error with CURL_DISABLE_VERBOSE_STRINGS
authorChristian Stewart <christian@paral.in>
Tue, 8 Dec 2015 15:04:52 +0000 (10:04 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Dec 2015 17:12:16 +0000 (18:12 +0100)
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

index 49b7d6b9c1ef8e3bce84e648461a70004f706d6f..28a1a8d63257c0cf26dae667032ea6f40dca7c7c 100644 (file)
@@ -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