mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-15 02:58:34 +05:00
list.sh: remove unused locals
This commit is contained in:
parent
4f37c19771
commit
ce2a51a137
@ -26,7 +26,6 @@ filter_apply_hostlist_target()
|
|||||||
# $1 - var name of tpws or nfqws params
|
# $1 - var name of tpws or nfqws params
|
||||||
|
|
||||||
local v parm parm1 parm2 parm3 parm4 parm5 parm6 parm7 parm8 parmNA
|
local v parm parm1 parm2 parm3 parm4 parm5 parm6 parm7 parm8 parmNA
|
||||||
local hmarker hmarkerNA
|
|
||||||
eval v="\$$1"
|
eval v="\$$1"
|
||||||
if contains "$v" "$HOSTLIST_MARKER" || contains "$v" "$HOSTLIST_NOAUTO_MARKER"; then
|
if contains "$v" "$HOSTLIST_MARKER" || contains "$v" "$HOSTLIST_NOAUTO_MARKER"; then
|
||||||
[ "$MODE_FILTER" = hostlist -o "$MODE_FILTER" = autohostlist ] &&
|
[ "$MODE_FILTER" = hostlist -o "$MODE_FILTER" = autohostlist ] &&
|
||||||
|
Loading…
Reference in New Issue
Block a user