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:
Daniel Stenberg 2023-04-29 17:49:12 +02:00
parent 9ce7eee070
commit b637166092
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 */