]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of an unused variable.
authorguy <guy>
Wed, 20 Apr 2005 22:21:00 +0000 (22:21 +0000)
committerguy <guy>
Wed, 20 Apr 2005 22:21:00 +0000 (22:21 +0000)
print-mobility.c

index 9243615932a84696507299e92a8c36f9410a20c9..1490b72e721cf2f62515c0dc13ba450e16ef6c28 100644 (file)
@@ -33,7 +33,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-mobility.c,v 1.11 2003-11-16 09:36:28 guy Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/print-mobility.c,v 1.12 2005-04-20 22:21:00 guy Exp $";
 #endif
 
 #ifdef INET6
@@ -168,15 +168,13 @@ trunc:
  * Mobility Header
  */
 int
-mobility_print(const u_char *bp, const u_char *bp2)
+mobility_print(const u_char *bp, const u_char *bp2 _U_)
 {
        const struct ip6_mobility *mh;
-       const struct ip6_hdr *ip6;
        const u_char *ep;
        int mhlen, hlen, type;
 
        mh = (struct ip6_mobility *)bp;
-       ip6 = (struct ip6_hdr *)bp2;
 
        /* 'ep' points to the end of available data. */
        ep = snapend;