mirror of
https://github.com/curl/curl.git
synced 2026-07-26 12:37:16 +03:00
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:
parent
908286b57e
commit
53dab550b4
1 changed files with 2 additions and 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue