Fix some c99 struct initializer uninitialized member warnings

that clang detects and GCC misses.
This commit is contained in:
Nicholas J. Kain
2015-02-13 23:25:42 -05:00
parent 702d8b0c5b
commit 04840c261d
3 changed files with 5 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ struct arp_data {
static struct arp_data garp = {
.state = AS_NONE,
.wake_ts = { -1, -1, -1, -1, -1 },
.send_stats = {{0},{0},{0}},
.send_stats = {{0,0},{0,0},{0,0}},
.last_conflict_ts = 0,
.gw_check_initpings = 0,
.arp_check_start_ts = 0,