diff options
author | 2010-05-19 13:07:15 +0000 | |
---|---|---|
committer | 2010-05-19 13:07:15 +0000 | |
commit | 7677b0c3cc13debe967493421cb8cb4cd9d4a688 (patch) | |
tree | 8182b5766aadcf6d03b51fcb75e6cdb5af4816da | |
parent | Add softreconfig support for peers changing the RIB. Done by first unloading (diff) | |
download | wireguard-openbsd-7677b0c3cc13debe967493421cb8cb4cd9d4a688.tar.xz wireguard-openbsd-7677b0c3cc13debe967493421cb8cb4cd9d4a688.zip |
remove unused variables
ok claudio@ michele@
-rw-r--r-- | sbin/route/show.c | 4 | ||||
-rw-r--r-- | usr.bin/netstat/show.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c index cb3623d68bc..189408d267c 100644 --- a/sbin/route/show.c +++ b/sbin/route/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.85 2010/03/23 15:08:51 claudio Exp $ */ +/* $OpenBSD: show.c,v 1.86 2010/05/19 13:07:15 chl Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -545,8 +545,6 @@ static char domain[MAXHOSTNAMELEN]; void p_sockaddr_mpls(struct sockaddr *in, struct sockaddr *out, int flags, int width) { - char buf[MAXHOSTNAMELEN], *cp; - if (in->sa_family != AF_MPLS) return; diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c index a82da9d68bc..3af0c5ba84f 100644 --- a/usr.bin/netstat/show.c +++ b/usr.bin/netstat/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.30 2010/03/23 16:26:01 claudio Exp $ */ +/* $OpenBSD: show.c,v 1.31 2010/05/19 13:07:15 chl Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -554,8 +554,6 @@ static char domain[MAXHOSTNAMELEN]; void p_sockaddr_mpls(struct sockaddr *in, struct sockaddr *out, int flags, int width) { - char buf[MAXHOSTNAMELEN], *cp; - if (in->sa_family != AF_MPLS) return; |