Remove some unused local variables.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 7 Oct 2017 12:58:04 +0000 (14:58 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 7 Oct 2017 12:58:04 +0000 (14:58 +0200)
Found by shellcheck.

gui
subcommand

diff --git a/gui b/gui
index 34f732e..2e8b40f 100644 (file)
--- 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"
index ab6ae8a..7da8048 100644 (file)
@@ -351,7 +351,7 @@ the subcommand.
 
 com_help()
 {
-       local a b ere tab='     '
+       local ere tab=' '
 
        _gsu_get_command_regex
        ere="$result"