mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:11:40 +03:00
multi-uv.c: remove unused variable
This commit is contained in:
parent
b8c195974c
commit
b1ce7c5a6b
1 changed files with 1 additions and 2 deletions
|
|
@ -50,14 +50,13 @@ typedef struct curl_context_s {
|
|||
|
||||
curl_context_t* create_curl_context(curl_socket_t sockfd)
|
||||
{
|
||||
int r;
|
||||
curl_context_t *context;
|
||||
|
||||
context = (curl_context_t *) malloc(sizeof *context);
|
||||
|
||||
context->sockfd = sockfd;
|
||||
|
||||
r = uv_poll_init_socket(loop, &context->poll_handle, sockfd);
|
||||
uv_poll_init_socket(loop, &context->poll_handle, sockfd);
|
||||
context->poll_handle.data = context;
|
||||
|
||||
return context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue