gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 149/153: Curl_getoff_all_pipelines: ignore unused r


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 149/153: Curl_getoff_all_pipelines: ignore unused return values
Date: Tue, 11 Sep 2018 12:53:40 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 53dab550b4bad19449f1032521adaa750363368e
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Sep 4 19:21:16 2018 +0200

    Curl_getoff_all_pipelines: ignore unused return values
    
    Since scan-build would warn on the dead "Dead store/Dead increment"
---
 lib/url.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/url.c b/lib/url.c
index 6c9caffab..f15900889 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -917,9 +917,8 @@ void Curl_getoff_all_pipelines(struct Curl_easy *data,
       Curl_pipeline_leave_write(conn);
   }
   else {
-    int rc;
-    rc = Curl_removeHandleFromPipeline(data, &conn->recv_pipe);
-    rc += Curl_removeHandleFromPipeline(data, &conn->send_pipe);
+    (void)Curl_removeHandleFromPipeline(data, &conn->recv_pipe);
+    (void)Curl_removeHandleFromPipeline(data, &conn->send_pipe);
   }
 }
 

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



reply via email to

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