]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of an unused variable.
authorguy <guy>
Mon, 15 Dec 2003 04:03:21 +0000 (04:03 +0000)
committerguy <guy>
Mon, 15 Dec 2003 04:03:21 +0000 (04:03 +0000)
addrtoname.c

index d7f1a84a50e5418e7aece88a32019236745de49a..b09e49286ea95c331532a9f787cfa63e6b9d1c78 100644 (file)
@@ -23,7 +23,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.98 2003-11-16 09:36:08 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.99 2003-12-15 04:03:21 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -186,7 +186,6 @@ intoa(u_int32_t addr)
 
 static u_int32_t f_netmask;
 static u_int32_t f_localnet;
-static u_int32_t netmask;
 
 /*
  * Return a name for the IP address pointed to by ap.  This address
@@ -1097,7 +1096,6 @@ init_ipxsaparray(void)
 void
 init_addrtoname(u_int32_t localnet, u_int32_t mask)
 {
-       netmask = mask;
        if (fflag) {
                f_localnet = localnet;
                f_netmask = mask;