diff options
author | Clemens Gruber <clemensgru@gmail.com> | 2013-03-27 14:04:34 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-03-27 15:39:42 +0100 |
commit | b1ce7c5a6bd12bbc37a2ac2c1b5cbe3684c61b8b (patch) | |
tree | 73c730247b740eab401e62487f494b0ef9e4d7b5 | |
parent | b8c195974c82c1bf7fb658d1b4eb4b8148573b5d (diff) | |
download | curl-b1ce7c5a6bd12bbc37a2ac2c1b5cbe3684c61b8b.tar.gz |
multi-uv.c: remove unused variable
-rw-r--r-- | docs/examples/multi-uv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/examples/multi-uv.c b/docs/examples/multi-uv.c index 564be2d48..57d712fcf 100644 --- a/docs/examples/multi-uv.c +++ b/docs/examples/multi-uv.c @@ -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; |