1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

fix compiler warning: unused parameter

This commit is contained in:
Yang Tse 2009-04-30 09:32:02 +00:00
parent 6b95c4e358
commit c174b13f8b

View File

@ -718,6 +718,7 @@ static void sndbufset(struct connectdata *conn,
curl_socket_t sockfd) curl_socket_t sockfd)
{ {
int val = CURL_MAX_WRITE_SIZE + 32; int val = CURL_MAX_WRITE_SIZE + 32;
(void)conn;
setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (const char *)&val, sizeof(val)); setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (const char *)&val, sizeof(val));
} }
#else #else