From 7728047888f5364dfdcde33f3a3bfb227efaea9f Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 25 Mar 2024 21:53:43 +0100 Subject: [PATCH] decode/icmpv6: minor test cleanup --- src/decode-icmpv6.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/decode-icmpv6.c b/src/decode-icmpv6.c index e52279ff57..5d287d0bf8 100644 --- a/src/decode-icmpv6.c +++ b/src/decode-icmpv6.c @@ -1522,13 +1522,11 @@ static int ICMPV6CalculateValidChecksumWithFCS(void) Packet *p = PacketGetFromAlloc(); FAIL_IF_NULL(p); - IPV6Hdr ip6h; ThreadVars tv; DecodeThreadVars dtv; memset(&tv, 0, sizeof(ThreadVars)); memset(&dtv, 0, sizeof(DecodeThreadVars)); - memset(&ip6h, 0, sizeof(IPV6Hdr)); FlowInitConfig(FLOW_QUIET); DecodeIPV6(&tv, &dtv, p, raw_ipv6 + 14, sizeof(raw_ipv6) - 14);