]> The Tcpdump Group git mirrors - tcpdump/commitdiff
squelch compiler warnings
authorhannes <hannes>
Thu, 9 Aug 2007 18:47:27 +0000 (18:47 +0000)
committerhannes <hannes>
Thu, 9 Aug 2007 18:47:27 +0000 (18:47 +0000)
print-zephyr.c

index 9b39afade27d2545373da20f93ac530c14b19d2c..7c52e65406589f2c12a86e84a4dc011edf435096 100644 (file)
@@ -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;