gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 111/282: easy: remove dead code


From: gnunet
Subject: [gnurl] 111/282: easy: remove dead code
Date: Wed, 01 Apr 2020 14:29:36 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 55bb83c92b8dba30aa0ef15a8130a5509c03d1a5
Author: Jay Satiro <address@hidden>
AuthorDate: Sun Feb 9 02:41:33 2020 -0500

    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(-)

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);
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]