diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-14 14:18:05 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-14 14:18:05 -0800 |
commit | 3805954a8c0fcc6b4933f3f1fabbb1c984ab74b6 (patch) | |
tree | dc6bf47238a5f0b90c6005b3dfde3475e3b475c7 /print-zephyr.c | |
parent | 9d83ad9c9e8ce15d380e7b04d8ffbb73991e552f (diff) | |
download | tcpdump-3805954a8c0fcc6b4933f3f1fabbb1c984ab74b6.tar.gz |
Squelch incomplete initializer warnings.
Diffstat (limited to 'print-zephyr.c')
-rw-r--r-- | print-zephyr.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/print-zephyr.c b/print-zephyr.c index 8bf7fb52..64b37d16 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -144,7 +144,25 @@ str_to_lower(const char *string) void zephyr_print(netdissect_options *ndo, const u_char *cp, int length) { - struct z_packet z = {0}; + struct z_packet z = { + NULL, /* version */ + 0, /* numfields */ + 0, /* kind */ + NULL, /* uid */ + 0, /* port */ + 0, /* auth */ + 0, /* authlen */ + NULL, /* authdata */ + NULL, /* class */ + NULL, /* inst */ + NULL, /* opcode */ + NULL, /* sender */ + NULL, /* recipient */ + NULL, /* format */ + 0, /* cksum */ + 0, /* multi */ + NULL /* multi_uid */ + }; const char *parse = (const char *) cp; int parselen = length; const char *s; |