From 547aa0e95ec3445c788e09207a225e4dbff294c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 2 Feb 2022 15:57:22 +0100 Subject: [PATCH] MINOR: quic: Useless statement in quic_crypto_data_cpy() This should fix Coverity CID 375057 in GH #1526 where a useless assignment was detected. --- src/xprt_quic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 0793967b6..5aa1893d1 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -972,7 +972,6 @@ static int quic_crypto_data_cpy(struct quic_enc_level *qel, /* Increment the total size of this CRYPTO buffers by . */ qel->tx.crypto.sz += to_copy; (*qcb)->sz += to_copy; - pos += to_copy; len -= to_copy; data += to_copy; }