From 704563f04a8401781b359906c1f88a30e12af69c Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 6 Aug 2015 21:32:58 +0100 Subject: [PATCH] Fix uninitalised warning. Reviewed-by: Rich Salz --- test/packettest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/packettest.c b/test/packettest.c index 1ddb837149..f7f9ec8949 100644 --- a/test/packettest.c +++ b/test/packettest.c @@ -131,7 +131,7 @@ static int test_PACKET_get_net_2(PACKET *pkt, size_t start) static int test_PACKET_get_net_3(PACKET *pkt, size_t start) { - unsigned long i; + unsigned long i = 0; if ( !PACKET_goto_bookmark(pkt, start) || !PACKET_get_net_3(pkt, &i) -- 2.40.0