Curl_getoff_all_pipelines: ignore unused return values

Since scan-build would warn on the dead "Dead store/Dead increment"
This commit is contained in:
Daniel Stenberg 2018-09-04 19:21:16 +02:00
parent 908286b57e
commit 53dab550b4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}
}