summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_mroute.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-09-15 21:46:02 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-09-15 21:46:02 +0000
commit7fde72f66b65a8084625ffb1727f3d307c7a17e2 (patch)
tree6ba6f415c4fe70008205e556b504db85d6825e78 /sys/netinet/ip_mroute.c
parentad65b84ef51e31513ab97bf4e4fd8a623ee1f4e9 (diff)
remove dead stores and newly created unused variables.
Found by LLVM/Clang Static Analyzer. ok mpf@ looks good mk@ ok henning@
Diffstat (limited to 'sys/netinet/ip_mroute.c')
-rw-r--r--sys/netinet/ip_mroute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index a23baa6ce24..27b16f5cfd1 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_mroute.c,v 1.50 2008/01/02 03:33:18 brad Exp $ */
+/* $OpenBSD: ip_mroute.c,v 1.51 2008/09/15 21:46:01 chl Exp $ */
/* $NetBSD: ip_mroute.c,v 1.85 2004/04/26 01:31:57 matt Exp $ */
/*
@@ -844,7 +844,6 @@ add_vif(struct mbuf *m)
ifa = ifa_ifwithaddr(sintosa(&sin));
if (ifa == NULL)
return (EADDRNOTAVAIL);
- ifp = ifa->ifa_ifp;
}
if (vifcp->vifc_flags & VIFF_TUNNEL) {