diff options
author | Viktor Szakats <commit@vsz.me> | 2022-10-22 23:20:26 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2022-10-22 23:20:26 +0000 |
commit | 9b63dda16ec02c758f43143abcb8c5eeaecef8ae (patch) | |
tree | c4f57f474e7219b45deddcb2e856418f180b0f10 | |
parent | f5e5384ec3b8af5fd2cceaba036d8c0e1d0e948b (diff) | |
download | curl-9b63dda16ec02c758f43143abcb8c5eeaecef8ae.tar.gz |
noproxy: silence unused variable warnings with no ipv6
Follow-up to 36474f1050c7f4117e3c8de6cc9217cfebfc717d
Reviewed-by: Daniel Stenberg
Closes #9782
-rw-r--r-- | lib/noproxy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/noproxy.c b/lib/noproxy.c index 0b9355a66..4b70a4be4 100644 --- a/lib/noproxy.c +++ b/lib/noproxy.c @@ -94,6 +94,9 @@ UNITTEST bool Curl_cidr6_match(const char *ipv6, return TRUE; #else + (void)ipv6; + (void)network; + (void)bits; return FALSE; #endif } @@ -213,4 +216,3 @@ bool Curl_check_noproxy(const char *name, const char *no_proxy) } #endif /* CURL_DISABLE_PROXY */ - |