diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2015-11-03 21:33:57 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2015-11-03 21:33:57 +0000 |
commit | 385fbdbbc708f7e9f1ac90c31f11042db9a3eced (patch) | |
tree | 0ed7a35c755a7e68b0330914eefcd4d291a57393 /sys/net | |
parent | 9c0a813bac5b02a9dff34a3393b1702cf1500c59 (diff) |
Remove dead assignment and newly created unused variable.
Found by LLVM/Clang Static Analyzer.
ok yasuoka@ mpi@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pipex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c index b67d62415ba..ae36c52394e 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.c,v 1.83 2015/10/07 10:50:35 mpi Exp $ */ +/* $OpenBSD: pipex.c,v 1.84 2015/11/03 21:33:56 chl Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -1168,7 +1168,6 @@ Static void pipex_ip6_input(struct mbuf *m0, struct pipex_session *session) { struct ifnet *ifp; - struct ip6_hdr *ip6; int len; /* change recvif */ @@ -1187,7 +1186,6 @@ pipex_ip6_input(struct mbuf *m0, struct pipex_session *session) goto drop; } #endif - ip6 = mtod(m0, struct ip6_hdr *); /* * XXX: what is reasonable ingress filter ??? |