summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Schmidt <git@ryandesign.com>2023-01-25 19:05:02 -0600
committerJay Satiro <raysatiro@yahoo.com>2023-01-26 03:30:26 -0500
commita17101e347b1e52acc48bd5d472cbdaca1bb04e6 (patch)
tree14181075d49d996807282c0b25d49c62093f5aa4 /lib
parent9e93bd47c29b647171fefbe1fb4f5e01da91c488 (diff)
downloadcurl-a17101e347b1e52acc48bd5d472cbdaca1bb04e6.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/cf-socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/cf-socket.c b/lib/cf-socket.c
index 72fc804dd..98565aed4 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
}