summaryrefslogtreecommitdiffstats
path: root/test/packettest.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2015-08-06 22:32:58 +0200
committerBen Laurie <ben@links.org>2015-08-06 22:32:58 +0200
commit704563f04a8401781b359906c1f88a30e12af69c (patch)
treed169a88019696608d0b220a0bb2a1ad3d4c669e8 /test/packettest.c
parentRT3990: Fix #include path. (diff)
downloadopenssl-704563f04a8401781b359906c1f88a30e12af69c.tar.xz
openssl-704563f04a8401781b359906c1f88a30e12af69c.zip
Fix uninitalised warning.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/packettest.c')
-rw-r--r--test/packettest.c2
1 files changed, 1 insertions, 1 deletions
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)