Skip to content

Commit b8fd600

Browse files
ramsay-jonesgitster
authored andcommitted
http: fix an unused variable warning for 'curl_no_proxy'
Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 38e79b1 commit b8fd600

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

http.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ static const char *ssl_key;
6666
#if LIBCURL_VERSION_NUM >= 0x070908
6767
static const char *ssl_capath;
6868
#endif
69+
#if LIBCURL_VERSION_NUM >= 0x071304
70+
static const char *curl_no_proxy;
71+
#endif
6972
#if LIBCURL_VERSION_NUM >= 0x072c00
7073
static const char *ssl_pinnedkey;
7174
#endif
@@ -74,7 +77,6 @@ static long curl_low_speed_limit = -1;
7477
static long curl_low_speed_time = -1;
7578
static int curl_ftp_no_epsv;
7679
static const char *curl_http_proxy;
77-
static const char *curl_no_proxy;
7880
static const char *http_proxy_authmethod;
7981
static struct {
8082
const char *name;

0 commit comments

Comments
 (0)