commit | 547aa0e95ec3445c788e09207a225e4dbff294c7 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Wed Feb 02 15:57:22 2022 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Feb 14 15:20:54 2022 +0100 |
tree | 98fa115a6bb0c8e79f5663c0fd1ce99cfb3c8931 | |
parent | c0b481f87b4b5c7d77b4c021495c29bc0f43ebba [diff] |
MINOR: quic: Useless statement in quic_crypto_data_cpy() This should fix Coverity CID 375057 in GH #1526 where a useless assignment was detected.
diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 0793967..5aa1893 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c
@@ -972,7 +972,6 @@ /* Increment the total size of this CRYPTO buffers by <to_copy>. */ qel->tx.crypto.sz += to_copy; (*qcb)->sz += to_copy; - pos += to_copy; len -= to_copy; data += to_copy; }