Skip to content

Commit

Permalink
easy: remove dead code
Browse files Browse the repository at this point in the history
multi is already assigned to data->multi by curl_multi_add_handle.

Closes #4900
  • Loading branch information
jay committed Feb 12, 2020
1 parent d78672b commit 55bb83c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/easy.c
Expand Up @@ -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);

Expand Down

0 comments on commit 55bb83c

Please sign in to comment.