From 59a76c6d39cb17b79e3bcab6c9f7b90fdeef754b Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 11 Oct 2021 12:56:23 +0200 Subject: [PATCH] chore: fix -Wunreachable-code-return --- lib/nghttp2_submit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/nghttp2_submit.c b/lib/nghttp2_submit.c index 744a49cf..92fb03e8 100644 --- a/lib/nghttp2_submit.c +++ b/lib/nghttp2_submit.c @@ -492,8 +492,6 @@ int nghttp2_session_set_local_window_size(nghttp2_session *session, return nghttp2_session_update_recv_stream_window_size(session, stream, 0, 1); } - - return 0; } int nghttp2_submit_altsvc(nghttp2_session *session, uint8_t flags,