From: Florian Eckert Date: Tue, 14 Jul 2020 07:42:17 +0000 (+0200) Subject: mwan3: remove unused variable complained by shellcheck X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=644d9a25df0f352ff93646b50d5305b9837f4371;p=feed%2Fpackages.git mwan3: remove unused variable complained by shellcheck Signed-off-by: Florian Eckert --- diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index adfaeb79de..3c4f25cc40 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -1146,8 +1146,6 @@ mwan3_report_policies_v6() mwan3_report_connected_v4() { - local address - if [ -n "$($IPT4 -S mwan3_connected 2> /dev/null)" ]; then $IPS -o save list mwan3_connected_v4 | grep add | cut -d " " -f 3 fi @@ -1155,8 +1153,6 @@ mwan3_report_connected_v4() mwan3_report_connected_v6() { - local address - if [ -n "$($IPT6 -S mwan3_connected 2> /dev/null)" ]; then $IPS -o save list mwan3_connected_v6 | grep add | cut -d " " -f 3 fi