summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-04-29 17:49:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-30 11:26:07 +0200
commitb637166092f995267606bebe5965db3ae3122fdc (patch)
tree6cfc0f79f0f9b5e7a800795efe39e3724d5fa6aa
parent9ce7eee07042605045dcfd02a6f5b38ad5c8a05d (diff)
downloadcurl-b637166092f995267606bebe5965db3ae3122fdc.tar.gz
http2: (void)-mark when we explicitly ignore the return code
When h2_progress_egress() is called. Pointed out by Coverity. Closes #11057
-rw-r--r--lib/http2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 539b1fc81..4db995133 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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 */