From: Andre Noll Date: Sat, 7 Oct 2017 12:58:04 +0000 (+0200) Subject: Remove some unused local variables. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a83461ac7e653a1caece11dba3f16c6db6fe8509;p=gsu.git Remove some unused local variables. Found by shellcheck. --- diff --git a/gui b/gui index 34f732e..2e8b40f 100644 --- a/gui +++ b/gui @@ -97,7 +97,7 @@ _gsu_menu() { local header="${1:-root}" local items="$2" - local i state opts num=0 + local i opts num=0 _get_geometry opts="$result 16" diff --git a/subcommand b/subcommand index ab6ae8a..7da8048 100644 --- a/subcommand +++ b/subcommand @@ -351,7 +351,7 @@ the subcommand. com_help() { - local a b ere tab=' ' + local ere tab=' ' _gsu_get_command_regex ere="$result"