diff options
author | hannes <hannes> | 2007-08-09 18:47:27 +0000 |
---|---|---|
committer | hannes <hannes> | 2007-08-09 18:47:27 +0000 |
commit | fe37f0e1adf1dcabbd9010b1ea74b5d42254e71f (patch) | |
tree | 49c6f5449d0d591fa5102eda5105210f85e02d8a /print-zephyr.c | |
parent | d97155c53f522c8f494e23ceafc9564f1488fdb7 (diff) | |
download | tcpdump-fe37f0e1adf1dcabbd9010b1ea74b5d42254e71f.tar.gz |
squelch compiler warnings
Diffstat (limited to 'print-zephyr.c')
-rw-r--r-- | print-zephyr.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/print-zephyr.c b/print-zephyr.c index 9b39afad..7c52e654 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -22,7 +22,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.9 2005-04-21 06:51:11 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.10 2007-08-09 18:47:27 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -140,6 +140,15 @@ zephyr_print(const u_char *cp, int length) char *s; int lose = 0; + /* squelch compiler warnings */ + + z.kind = 0; + z.class = 0; + z.inst = 0; + z.opcode = 0; + z.sender = 0; + z.recipient = 0; + #define PARSE_STRING \ s = parse_field(&parse, &parselen); \ if (!s) lose = 1; |