mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
http2: (void)-mark when we explicitly ignore the return code
When h2_progress_egress() is called. Pointed out by Coverity. Closes #11057
This commit is contained in:
parent
9ce7eee070
commit
b637166092
@ -282,8 +282,8 @@ static void http2_data_done(struct Curl_cfilter *cf,
|
||||
* exhausted eventually. */
|
||||
nghttp2_session_consume(ctx->h2, stream->id,
|
||||
Curl_bufq_len(&stream->recvbuf));
|
||||
/* give WINDOW_UPATE a chance to be sent */
|
||||
h2_progress_egress(cf, data);
|
||||
/* give WINDOW_UPATE a chance to be sent, but ignore any error */
|
||||
(void)h2_progress_egress(cf, data);
|
||||
}
|
||||
|
||||
/* -1 means unassigned and 0 means cleared */
|
||||
|
Loading…
Reference in New Issue
Block a user