mirror of
https://github.com/curl/curl.git
synced 2026-06-02 00:04:15 +03:00
fix compiler warning: unused parameter
This commit is contained in:
parent
6b95c4e358
commit
c174b13f8b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue