From 2f00ca766c3ab6de9dc3eab6274c02b0e8f5a2ed Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Tue, 9 Apr 2024 08:52:04 +0100 Subject: Minor update Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24037) --- include/internal/quic_stream_map.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/internal/quic_stream_map.h b/include/internal/quic_stream_map.h index 745d9c03d4..6554b1e655 100644 --- a/include/internal/quic_stream_map.h +++ b/include/internal/quic_stream_map.h @@ -487,6 +487,7 @@ static ossl_inline ossl_unused int ossl_quic_stream_recv_get_final_size(const QU { switch (s->recv_state) { default: + assert(0); case QUIC_RSTREAM_STATE_NONE: case QUIC_RSTREAM_STATE_RECV: return 0; @@ -515,6 +516,7 @@ static ossl_inline ossl_unused int ossl_quic_stream_recv_pending(const QUIC_STRE switch (s->recv_state) { default: + assert(0); case QUIC_RSTREAM_STATE_NONE: return 0; -- cgit v1.2.3