summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-04 19:21:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-04 19:22:06 +0200
commit53dab550b4bad19449f1032521adaa750363368e (patch)
treeb7a654747a0bd3f29e45562f9fbfba0b56973f9c /lib
parent908286b57ec79461e958ef8e0f8021dd713a0b39 (diff)
downloadcurl-53dab550b4bad19449f1032521adaa750363368e.tar.gz
Curl_getoff_all_pipelines: ignore unused return values
Since scan-build would warn on the dead "Dead store/Dead increment"
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c5
1 files 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);
}
}