summaryrefslogtreecommitdiff
path: root/print-igrp.c
diff options
context:
space:
mode:
authorguy <guy>2005-04-20 21:01:56 +0000
committerguy <guy>2005-04-20 21:01:56 +0000
commitd032e806c7e761ce125f84914b8d0fcbafe188ac (patch)
treebd7998a5f6406be8384ea14c9e51d31818879ed0 /print-igrp.c
parent07e39d93fc7d7f759a6379365ca3026c5fd23020 (diff)
downloadtcpdump-d032e806c7e761ce125f84914b8d0fcbafe188ac.tar.gz
Get rid of an unused variable.
Diffstat (limited to 'print-igrp.c')
-rw-r--r--print-igrp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/print-igrp.c b/print-igrp.c
index 25e33fce..3cede7ec 100644
--- a/print-igrp.c
+++ b/print-igrp.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.20 2003-11-16 09:36:23 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.21 2005-04-20 21:01:56 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -77,15 +77,13 @@ static struct tok op2str[] = {
};
void
-igrp_print(register const u_char *bp, u_int length, register const u_char *bp2)
+igrp_print(register const u_char *bp, u_int length, const u_char *bp2 _U_)
{
register struct igrphdr *hdr;
- register struct ip *ip;
register u_char *cp;
u_int nint, nsys, next;
hdr = (struct igrphdr *)bp;
- ip = (struct ip *)bp2;
cp = (u_char *)(hdr + 1);
(void)printf("igrp:");