From: Viktor Szakats Date: Sat, 22 Oct 2022 23:20:26 +0000 (+0000) Subject: noproxy: silence unused variable warnings with no ipv6 X-Git-Tag: curl-7_86_0~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b63dda16ec02c758f43143abcb8c5eeaecef8ae;p=thirdparty%2Fcurl.git noproxy: silence unused variable warnings with no ipv6 Follow-up to 36474f1050c7f4117e3c8de6cc9217cfebfc717d Reviewed-by: Daniel Stenberg Closes #9782 --- diff --git a/lib/noproxy.c b/lib/noproxy.c index 0b9355a663..4b70a4be47 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 */ -