From c174b13f8b8820d7fd8bc67a1da26e9697e5aff3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 30 Apr 2009 09:32:02 +0000 Subject: [PATCH] fix compiler warning: unused parameter --- lib/connect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connect.c b/lib/connect.c index 7727bf017..d4b621f33 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -718,6 +718,7 @@ static void sndbufset(struct connectdata *conn, curl_socket_t sockfd) { int val = CURL_MAX_WRITE_SIZE + 32; + (void)conn; setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (const char *)&val, sizeof(val)); } #else