]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
noproxy: silence unused variable warnings with no ipv6
authorViktor Szakats <commit@vsz.me>
Sat, 22 Oct 2022 23:20:26 +0000 (23:20 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 22 Oct 2022 23:20:26 +0000 (23:20 +0000)
Follow-up to 36474f1050c7f4117e3c8de6cc9217cfebfc717d

Reviewed-by: Daniel Stenberg
Closes #9782

lib/noproxy.c

index 0b9355a663f07eb5d8547a061129141e87be1688..4b70a4be471aea8eb91b1a52320e7bf20e138548 100644 (file)
@@ -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 */
-