mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08: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
@ -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…
Reference in New Issue
Block a user