summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2014-08-24 13:30:27 +0000
committerajacoutot <ajacoutot@openbsd.org>2014-08-24 13:30:27 +0000
commit26e013fa0191447da2f44dd82c0f2444d089d8ef (patch)
treed8daaab66d468bc99a9f65f81f8cc0629c5c5423
parentIn debug mode, make it clear when we are using the default flags when (diff)
downloadwireguard-openbsd-26e013fa0191447da2f44dd82c0f2444d089d8ef.tar.xz
wireguard-openbsd-26e013fa0191447da2f44dd82c0f2444d089d8ef.zip
Drop unused variables.
-rw-r--r--etc/rc.d/rc.subr5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr
index 7c419fd8633..d279066d02e 100644
--- a/etc/rc.d/rc.subr
+++ b/etc/rc.d/rc.subr
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.subr,v 1.84 2014/08/24 13:29:16 ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.85 2014/08/24 13:30:27 ajacoutot Exp $
#
# Copyright (c) 2010, 2011, 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -114,7 +114,7 @@ _rc_quirks() {
_rc_parse_conf() {
typeset -l _key
- local _conf _i _l _val
+ local _l _val
set -A _allowed_keys -- \
spamd_black pf ipsec check_quotas accounting \
multicast_host multicast_router amd_master \
@@ -137,7 +137,6 @@ _rc_parse_conf() {
# remove leading and trailing quotes (backwards compat)
[[ $_val == @(\"*\"|\'*\') ]] && _val=${_val#?} _val=${_val%?}
eval "${_key}=\${_val}"
- _conf="${_conf} ${_key}"
done < $_rcfile
done