aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Sedoi <bsnote@gmail.com>2016-11-02 08:48:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2016-11-03 12:32:14 +0100
commitb1aeed302d52e2663722ef8694cd4d0f06e38bdf (patch)
tree55cdea5275c98e4d6763c178aca189c4846a841b
parent71cfce9ce7ae91dc4f8b99042ad122bf07db0a79 (diff)
docs: remove unused variables in multi-uv example
-rw-r--r--docs/examples/multi-uv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/examples/multi-uv.c b/docs/examples/multi-uv.c
index 51ef9f6d6..f74ae2880 100644
--- a/docs/examples/multi-uv.c
+++ b/docs/examples/multi-uv.c
@@ -77,7 +77,6 @@ void destroy_curl_context(curl_context_t *context)
uv_close((uv_handle_t *) &context->poll_handle, curl_close_cb);
}
-
void add_download(const char *url, int num)
{
char filename[50];
@@ -102,7 +101,6 @@ void add_download(const char *url, int num)
static void check_multi_info(void)
{
- int running_handles;
char *done_url;
CURLMsg *message;
int pending;
@@ -135,9 +133,6 @@ void curl_perform(uv_poll_t *req, int status, int events)
int running_handles;
int flags = 0;
curl_context_t *context;
- char *done_url;
- CURLMsg *message;
- int pending;
uv_timer_stop(&timeout);