[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
- [GNUnet-SVN] [gnurl] branch master updated (87430bf69 -> d95fbcb04), gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 14/153: header output: switch off all styles, not just unbold, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 149/153: Curl_getoff_all_pipelines: ignore unused return values,
gnunet <=
- [GNUnet-SVN] [gnurl] 132/153: CURLOPT_ACCEPT_ENCODING.3: list them comma-separated [ci skip], gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 144/153: openssl: Fix setting TLS 1.3 cipher suites, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 153/153: guix.scm: adjust to version., gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 150/153: RELEASE-NOTES: 7.61.1, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 151/153: THANKS: 7.61.1 status, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 148/153: sftp: fix indentation, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 145/153: tool_operate: Add http code 408 to transient list for --retry, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 146/153: url, vtls: make CURLOPT{, _PROXY}_TLS13_CIPHERS work, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 143/153: Curl_ntlm_core_mk_nt_hash: return error on too long password, gnunet, 2018/09/11
- [GNUnet-SVN] [gnurl] 138/153: tool_operate: Fix setting proxy TLS 1.3 ciphers, gnunet, 2018/09/11