From a83461ac7e653a1caece11dba3f16c6db6fe8509 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 7 Oct 2017 14:58:04 +0200 Subject: [PATCH] Remove some unused local variables. Found by shellcheck. --- gui | 2 +- subcommand | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.5