aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}