From a17101e347b1e52acc48bd5d472cbdaca1bb04e6 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 25 Jan 2023 19:05:02 -0600 Subject: [PATCH] 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 --- lib/cf-socket.c | 2 -- 1 file changed, 2 deletions(-) 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 }