mirror of
https://github.com/curl/curl.git
synced 2026-07-24 07:47:19 +03:00
easy: remove dead code
multi is already assigned to data->multi by curl_multi_add_handle. Closes https://github.com/curl/curl/pull/4900
This commit is contained in:
parent
d78672b5b4
commit
55bb83c92b
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue