diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-04 19:21:16 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-04 19:22:06 +0200 |
commit | 53dab550b4bad19449f1032521adaa750363368e (patch) | |
tree | b7a654747a0bd3f29e45562f9fbfba0b56973f9c | |
parent | 908286b57ec79461e958ef8e0f8021dd713a0b39 (diff) |
Curl_getoff_all_pipelines: ignore unused return values
Since scan-build would warn on the dead "Dead store/Dead increment"
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); } } |