From: guy Date: Mon, 15 Dec 2003 04:18:09 +0000 (+0000) Subject: Get rid of a set-but-not-used variable. X-Git-Tag: tcpdump-3.8.1~5 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/4ebdb95dea937bcbbbd0ef5e43c9fcc07eea77e0 Get rid of a set-but-not-used variable. --- diff --git a/print-isoclns.c b/print-isoclns.c index a36faebc..96439d3e 100644 --- a/print-isoclns.c +++ b/print-isoclns.c @@ -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 ? "|" : "");