From 55bb83c92b8dba30aa0ef15a8130a5509c03d1a5 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Sun, 9 Feb 2020 02:41:33 -0500 Subject: easy: remove dead code multi is already assigned to data->multi by curl_multi_add_handle. Closes https://github.com/curl/curl/pull/4900 --- lib/easy.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/easy.c') 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); -- cgit v1.2.3