subcommand: Declare $opt as local.
[gsu.git] / subcommand
index c04f23feeb5ae018ce0e0ae1fea46efe20318b40..7318c9e880396e5118a117639050fac2ba063e95 100644 (file)
@@ -493,7 +493,8 @@ EOF
 #
 gsu_cword_is_option_parameter()
 {
-       local opts="$1" cword="$2" prev i n
+       local opts="$1" cword="$2"
+       local opt prev i n
        local -a words
 
        result=