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

index a36faebcbd0410ca7749a9cfd9779c8e8e77529f..96439d3ea99a1dcae73f8c14607d4c90a9dca21f 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106.2.3 2003-12-15 03:49:52 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106.2.4 2003-12-15 04:18:09 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -472,11 +472,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)
 {
-       u_int8_t pdu_type;
        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 ? "|" : "");