From: Ryan Schmidt Date: Thu, 26 Jan 2023 01:05:02 +0000 (-0600) Subject: cf-socket: Fix build when not HAVE_GETPEERNAME X-Git-Tag: curl-7_88_0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a17101e347b1e52acc48bd5d472cbdaca1bb04e6;p=thirdparty%2Fcurl.git cf-socket: Fix build when not HAVE_GETPEERNAME Remove remaining references to conn and sockfd, which were removed from the function signature when conninfo_remote was renamed to conn_set_primary_ip in 6a8d7ef. Closes https://github.com/curl/curl/pull/10343 --- diff --git a/lib/cf-socket.c b/lib/cf-socket.c index 72fc804dd2..98565aed4c 100644 --- a/lib/cf-socket.c +++ b/lib/cf-socket.c @@ -1174,8 +1174,6 @@ static void conn_set_primary_ip(struct Curl_cfilter *cf, #else cf->conn->primary_ip[0] = 0; (void)data; - (void)conn; - (void)sockfd; #endif }