From: Ben Laurie Date: Thu, 6 Aug 2015 20:32:58 +0000 (+0100) Subject: Fix uninitalised warning. X-Git-Tag: OpenSSL_1_1_0-pre1~843 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=704563f04a8401781b359906c1f88a30e12af69c;p=oweals%2Fopenssl.git Fix uninitalised warning. Reviewed-by: Rich Salz --- 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)