From e23a3fc8e38a889035bf0964c70c7699f4a38e5c Mon Sep 17 00:00:00 2001 From: Adam Eijdenberg Date: Tue, 4 Aug 2015 16:29:07 -0700 Subject: [PATCH] Fix clang uninitialized variable warning. We could just initialize it, but to be consistent with the rest of the file it seemed to make more sense to just drop. Reviewed-by: Ben Laurie Reviewed-by: Matt Caswell --- test/packettest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/packettest.c b/test/packettest.c index 1ddb837149..d6d0c082f5 100644 --- a/test/packettest.c +++ b/test/packettest.c @@ -140,7 +140,6 @@ static int test_PACKET_get_net_3(PACKET *pkt, size_t start) || !PACKET_get_net_3(pkt, &i) || i != 0xfafcfeUL || PACKET_get_net_3(pkt, &i)) { - fprintf(stderr, "i is %ld\n", i); fprintf(stderr, "test_PACKET_get_net_3() failed\n"); return 0; } -- 2.34.1