From 60d13c7a9dd18f720483338ebef03609492ca98c Mon Sep 17 00:00:00 2001 From: archie Date: Mon, 7 Dec 1998 21:58:50 +0000 Subject: The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static and local variables, goto labels, and functions declared but not defined. --- sys/netinet/ip_mroute.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/netinet/ip_mroute.c') diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 3c11f82..157b72d 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -9,7 +9,7 @@ * Modified by Bill Fenner, PARC, April 1995 * * MROUTING Revision: 3.5 - * $Id: ip_mroute.c,v 1.48 1998/08/17 01:05:24 bde Exp $ + * $Id: ip_mroute.c,v 1.49 1998/08/23 03:07:14 wollman Exp $ */ #include "opt_mrouting.h" @@ -556,8 +556,6 @@ ip_mrouter_init(so, version) struct socket *so; int version; { - int *v; - if (mrtdebug) log(LOG_DEBUG,"ip_mrouter_init: so_type = %d, pr_protocol = %d\n", so->so_type, so->so_proto->pr_protocol); @@ -691,7 +689,6 @@ add_vif(vifcp) static struct sockaddr_in sin = {sizeof sin, AF_INET}; struct ifaddr *ifa; struct ifnet *ifp; - struct ifreq ifr; int error, s; struct tbf *v_tbf = tbftable + vifcp->vifc_vifi; -- cgit v1.1