projects
/
gsu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
276176c
)
Remove some unused local variables.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sat, 7 Oct 2017 12:58:04 +0000
(14:58 +0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Sat, 7 Oct 2017 12:58:04 +0000
(14:58 +0200)
Found by shellcheck.
gui
patch
|
blob
|
history
subcommand
patch
|
blob
|
history
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"
diff --git
a/subcommand
b/subcommand
index ab6ae8a239b36609d6f6dbe1ce4b24e1e31087d1..7da80486ff63fa06383789530eb43d99885f3e81 100644
(file)
--- 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"