summaryrefslogtreecommitdiff
path: root/print-zephyr.c
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2009-03-21 16:23:46 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2009-03-21 16:23:46 +0000
commit0ea0e7ad03dff03bb5448f640640d7904c01c8d4 (patch)
treef2a455fa35943d2b7d4901bf95ac5bf39229115c /print-zephyr.c
parent81ceab7147ecaac14fa1889cdb461205e1002393 (diff)
Notes
Diffstat (limited to 'print-zephyr.c')
-rw-r--r--print-zephyr.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/print-zephyr.c b/print-zephyr.c
index 698faa2f5b46..7c52e6540658 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.8.2.1 2005/04/21 06:51:24 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;