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 <ben@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
04fe876b56
commit
e23a3fc8e3
@ -140,7 +140,6 @@ static int test_PACKET_get_net_3(PACKET *pkt, size_t start)
|
|||||||
|| !PACKET_get_net_3(pkt, &i)
|
|| !PACKET_get_net_3(pkt, &i)
|
||||||
|| i != 0xfafcfeUL
|
|| i != 0xfafcfeUL
|
||||||
|| PACKET_get_net_3(pkt, &i)) {
|
|| PACKET_get_net_3(pkt, &i)) {
|
||||||
fprintf(stderr, "i is %ld\n", i);
|
|
||||||
fprintf(stderr, "test_PACKET_get_net_3() failed\n");
|
fprintf(stderr, "test_PACKET_get_net_3() failed\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user