Revert "Fix uninitalised warning."
authorMatt Caswell <matt@openssl.org>
Thu, 6 Aug 2015 21:44:29 +0000 (22:44 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 6 Aug 2015 21:44:29 +0000 (22:44 +0100)
This reverts commit 704563f04a8401781b359906c1f88a30e12af69c.

Reverting in favour of the next commit which removes the underlying cause
of the warning.

Reviewed-by: Ben Laurie <ben@openssl.org>
test/packettest.c

index f7f9ec8949df45d3f3aa61155dd6efaa84c8cb91..1ddb837149a6969d27628a2139532b03c984964c 100644 (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 = 0;
+    unsigned long i;
 
     if (       !PACKET_goto_bookmark(pkt, start)
             || !PACKET_get_net_3(pkt, &i)