diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-11-28 20:07:19 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-11-28 20:07:19 +0000 |
commit | b33662f249421f2790f1c84e1a69f6d959963afb (patch) | |
tree | c5375817f188cbedf39ccde9d25a23bcacc57ae5 | |
parent | 0e4844e5a839b028cdcd77f9d379a6023f03de68 (diff) |
remove unused variables
ok claudio@
-rw-r--r-- | sbin/ifconfig/brconfig.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/ifconfig/brconfig.c b/sbin/ifconfig/brconfig.c index 5e291ddb58d..0bc79b5623f 100644 --- a/sbin/ifconfig/brconfig.c +++ b/sbin/ifconfig/brconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brconfig.c,v 1.1 2009/11/22 22:00:24 claudio Exp $ */ +/* $OpenBSD: brconfig.c,v 1.2 2009/11/28 20:07:18 chl Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -575,8 +575,6 @@ void bridge_noifcost(const char *ifname, int d) { struct ifbreq breq; - unsigned long v; - char *endptr; strlcpy(breq.ifbr_name, name, sizeof(breq.ifbr_name)); strlcpy(breq.ifbr_ifsname, ifname, sizeof(breq.ifbr_ifsname)); @@ -691,7 +689,6 @@ bridge_status(void) { struct ifreq ifr; struct ifbrparam bp1, bp2; - int err; if (!is_bridge(name)) return; |