From 963e9b583b7fa7c26efc7acee2449069057b93d7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 12 Jul 2022 11:24:34 -0700 Subject: quic: fix coverity warning Type: fix Fixes: 5b4b4c0 Signed-off-by: Florin Coras Change-Id: If4bd8f30cd23d862109cab665251ad89804b1734 --- src/plugins/quic/quic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/quic') diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c index 26113066014..39651244057 100644 --- a/src/plugins/quic/quic.c +++ b/src/plugins/quic/quic.c @@ -830,12 +830,13 @@ quic_on_receive (quicly_stream_t * stream, size_t off, const void *src, size_t len) { QUIC_DBG (3, "received data: %lu bytes, offset %lu", len, off); - u32 max_enq, rlen, rv; + u32 max_enq, rv; quic_ctx_t *sctx; session_t *stream_session; app_worker_t *app_wrk; svm_fifo_t *f; quic_stream_data_t *stream_data; + int rlen; if (!len) return; -- cgit 1.2.3-korg