summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2020-02-09 02:41:33 -0500
committerJay Satiro <raysatiro@yahoo.com>2020-02-12 16:54:51 -0500
commit55bb83c92b8dba30aa0ef15a8130a5509c03d1a5 (patch)
tree49abc15cb32fd1d8b93476ae48d7d391177266c8
parentd78672b5b4526f5308ba28d5100a17c2a0c68af8 (diff)
downloadcurl-55bb83c92b8dba30aa0ef15a8130a5509c03d1a5.tar.gz
easy: remove dead code
multi is already assigned to data->multi by curl_multi_add_handle. Closes https://github.com/curl/curl/pull/4900
-rw-r--r--lib/easy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 98646c9c4..56ba2b2bd 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -690,10 +690,6 @@ static CURLcode easy_perform(struct Curl_easy *data, bool events)
sigpipe_ignore(data, &pipe_st);
- /* assign this after curl_multi_add_handle() since that function checks for
- it and rejects this handle otherwise */
- data->multi = multi;
-
/* run the transfer */
result = events ? easy_events(multi) : easy_transfer(multi);