From: guy Date: Wed, 20 Apr 2005 21:55:32 +0000 (+0000) Subject: Get rid of an unused variable. X-Git-Tag: tcpdump-3.9.1~124 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/466b335a27c37d2e353f7ab47fc3c0284f23b79f Get rid of an unused variable. --- diff --git a/print-ospf.c b/print-ospf.c index 874bf5a2..f9cff38b 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.56 2004-09-29 16:49:31 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.56.2.1 2005-04-20 21:55:32 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -873,15 +873,13 @@ trunc: void ospf_print(register const u_char *bp, register u_int length, - register const u_char *bp2) + const u_char *bp2 _U_) { register const struct ospfhdr *op; - register const struct ip *ip; register const u_char *dataend; register const char *cp; op = (struct ospfhdr *)bp; - ip = (struct ip *)bp2; /* XXX Before we do anything else, strip off the MD5 trailer */ TCHECK(op->ospf_authtype);