]> git.tue.mpg.de Git - gsu.git/commitdiff
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 34f732e27bacc9646710efb0c11eef09659a2ce4..2e8b40feb35b10aaba383375aedabea844443d89 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 ab6ae8a239b36609d6f6dbe1ce4b24e1e31087d1..7da80486ff63fa06383789530eb43d99885f3e81 100644 (file)
@@ -351,7 +351,7 @@ the subcommand.
 
 com_help()
 {
-       local a b ere tab='     '
+       local ere tab=' '
 
        _gsu_get_command_regex
        ere="$result"