From: Frederic Lecaille Date: Thu, 29 Oct 2026 10:51:33 +0000 (+0100) Subject: CLEANUP: quic: remove duplicated rx offset initialization in quic_cstream_new() X-Git-Tag: v3.5-dev11~74 X-Git-Url: https://git.kaiwu.me/$%7BISSUES%7D/static/gitweb.js?a=commitdiff_plain;h=213e2b400fed5a70aedf36da7539a8478b87f1b5;p=haproxy.git CLEANUP: quic: remove duplicated rx offset initialization in quic_cstream_new() rx.offset> is set to 0 twice in a row. Let's drop the second useless assignment. --- diff --git a/src/quic_tls.c b/src/quic_tls.c index a52a42416..6005ddc5b 100644 --- a/src/quic_tls.c +++ b/src/quic_tls.c @@ -151,7 +151,6 @@ struct quic_cstream *quic_cstream_new(struct quic_conn *qc) cs->rx.offset = 0; cs->rx.ncbuf = NCBMBUF_NULL; - cs->rx.offset = 0; cs->tx.offset = 0; cs->tx.sent_offset = 0;