aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-07-12 11:24:34 -0700
committerFlorin Coras <florin.coras@gmail.com>2022-07-12 18:10:24 +0000
commit963e9b583b7fa7c26efc7acee2449069057b93d7 (patch)
tree120c5904e11014b06f5ab2b664df6ac6776040e3 /src
parentaf82211d33c9e68c95097f74f04169ec40bd960c (diff)
quic: fix coverity warning
Type: fix Fixes: 5b4b4c0 Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If4bd8f30cd23d862109cab665251ad89804b1734
Diffstat (limited to 'src')
-rw-r--r--src/plugins/quic/quic.c3
1 files changed, 2 insertions, 1 deletions
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;