From af9d854e44f761c5fdf6bb90ba39373ee764c2f8 Mon Sep 17 00:00:00 2001 From: krw Date: Fri, 13 Jul 2018 08:41:32 +0000 Subject: [PATCH] Unused variables. ok henning@ phessler@ --- sbin/ifconfig/brconfig.c | 3 +-- sbin/ifconfig/ifconfig.c | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sbin/ifconfig/brconfig.c b/sbin/ifconfig/brconfig.c index 0ab432b6bed..c84d4d0d1cc 100644 --- a/sbin/ifconfig/brconfig.c +++ b/sbin/ifconfig/brconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brconfig.c,v 1.19 2018/02/24 06:31:47 dlg Exp $ */ +/* $OpenBSD: brconfig.c,v 1.20 2018/07/13 08:41:32 krw Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -923,7 +923,6 @@ bridge_rule(int targc, char **targv, int ln) int argc = targc; struct ifbrlreq rule; struct ether_addr *ea, *dea; - struct in_addr *ia; if (argc == 0) { warnx("invalid rule"); diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index af15dac4ae9..9bfb1751aab 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.368 2018/07/11 20:18:09 phessler Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.369 2018/07/13 08:41:32 krw Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -2164,7 +2164,7 @@ print_cipherset(u_int32_t cipherset) void ieee80211_status(void) { - int len, i, nwkey_verbose, inwid, ijoin, inwkey, ipsk, ichan, ipwr; + int len, inwid, ijoin, inwkey, ipsk, ichan, ipwr; int ibssid, iwpa; struct ieee80211_nwid nwid; struct ieee80211_join join; @@ -2176,7 +2176,6 @@ ieee80211_status(void) struct ieee80211_wpaparams wpa; struct ieee80211_nodereq nr; u_int8_t zero_bssid[IEEE80211_ADDR_LEN]; - u_int8_t keybuf[IEEE80211_WEP_NKID][16]; struct ether_addr ea; /* get current status via ioctls */ -- 2.20.1