Fix uninitalised warning.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Ben Laurie 2015-08-06 21:32:58 +01:00
parent 1125245997
commit 704563f04a

View File

@ -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)