]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of a set-but-not-used variable.
authorguy <guy>
Mon, 15 Dec 2003 04:16:57 +0000 (04:16 +0000)
committerguy <guy>
Mon, 15 Dec 2003 04:16:57 +0000 (04:16 +0000)
print-isoclns.c

index b12050a9aca506fdf3fb235c9df728a6b5e91e47..a75e866610655f2f016d96ca36a5f09cc03e2d9b 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.111 2003-12-15 03:42:48 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.112 2003-12-15 04:16:57 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -475,11 +475,9 @@ print_nsap(register const u_int8_t *pptr, register int nsap_length)
 
 void isoclns_print(const u_int8_t *p, u_int length, u_int caplen)
 {
 
 void isoclns_print(const u_int8_t *p, u_int length, u_int caplen)
 {
-       u_int8_t pdu_type;
        const struct isis_common_header *header;
 
        header = (const struct isis_common_header *)p;
        const struct isis_common_header *header;
 
        header = (const struct isis_common_header *)p;
-       pdu_type = header->pdu_type & PDU_TYPE_MASK;
 
         printf("%sOSI", caplen < 1 ? "|" : "");
 
 
         printf("%sOSI", caplen < 1 ? "|" : "");