http: fix an unused variable warning for 'curl_no_proxy'
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramsay Jones committed
Mar 14, 2018 at 21:56 UTC
b8fd6008ec5651925c46858499f182222174392c
1 file changed
+3
-1
http.c
+3
-1
@@ -66,6 +66,9 @@ static const char *ssl_key;
66
#if LIBCURL_VERSION_NUM >= 0x070908
67
static const char *ssl_capath;
68
#endif
69
+#if LIBCURL_VERSION_NUM >= 0x071304
70
+static const char *curl_no_proxy;
71
+#endif
72
#if LIBCURL_VERSION_NUM >= 0x072c00
73
static const char *ssl_pinnedkey;
74
#endif
@@ -74,7 +77,6 @@ static long curl_low_speed_limit = -1;
77
static long curl_low_speed_time = -1;
78
static int curl_ftp_no_epsv;
79
static const char *curl_http_proxy;
77
-static const char *curl_no_proxy;
80
static const char *http_proxy_authmethod;
81
static struct {
82
const char *name;