mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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
@ -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…
Reference in New Issue
Block a user