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>
This commit is contained in:
parent
38e79b1fda
commit
b8fd6008ec
4
http.c
4
http.c
@ -66,6 +66,9 @@ static const char *ssl_key;
|
|||||||
#if LIBCURL_VERSION_NUM >= 0x070908
|
#if LIBCURL_VERSION_NUM >= 0x070908
|
||||||
static const char *ssl_capath;
|
static const char *ssl_capath;
|
||||||
#endif
|
#endif
|
||||||
|
#if LIBCURL_VERSION_NUM >= 0x071304
|
||||||
|
static const char *curl_no_proxy;
|
||||||
|
#endif
|
||||||
#if LIBCURL_VERSION_NUM >= 0x072c00
|
#if LIBCURL_VERSION_NUM >= 0x072c00
|
||||||
static const char *ssl_pinnedkey;
|
static const char *ssl_pinnedkey;
|
||||||
#endif
|
#endif
|
||||||
@ -74,7 +77,6 @@ static long curl_low_speed_limit = -1;
|
|||||||
static long curl_low_speed_time = -1;
|
static long curl_low_speed_time = -1;
|
||||||
static int curl_ftp_no_epsv;
|
static int curl_ftp_no_epsv;
|
||||||
static const char *curl_http_proxy;
|
static const char *curl_http_proxy;
|
||||||
static const char *curl_no_proxy;
|
|
||||||
static const char *http_proxy_authmethod;
|
static const char *http_proxy_authmethod;
|
||||||
static struct {
|
static struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
Loading…
Reference in New Issue
Block a user