projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04fe876
)
Fix clang uninitialized variable warning.
author
Adam Eijdenberg
<adam.eijdenberg@gmail.com>
Tue, 4 Aug 2015 23:29:07 +0000
(16:29 -0700)
committer
Matt Caswell
<matt@openssl.org>
Thu, 6 Aug 2015 21:45:29 +0000
(22:45 +0100)
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>
test/packettest.c
patch
|
blob
|
history
diff --git
a/test/packettest.c
b/test/packettest.c
index 1ddb837149a6969d27628a2139532b03c984964c..d6d0c082f5ace42ff327f84da9877c07c9b19fd3 100644
(file)
--- 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;
}