From: Andre Noll Date: Wed, 30 Jul 2014 10:37:53 +0000 (+0200) Subject: gsu: Add missing declaration of a local variable. X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=commitdiff_plain;h=16feae865c61262389c5e9584b8908f2e7939f25 gsu: Add missing declaration of a local variable. "opt" is used but not declared local. --- diff --git a/misc/gsu/subcommand b/misc/gsu/subcommand index ddb351a..43f7df7 100644 --- a/misc/gsu/subcommand +++ b/misc/gsu/subcommand @@ -62,7 +62,7 @@ _gsu_print_available_commands() gsu_complete_options() { - local opts="$1" cword="$2" cur + local opts="$1" cword="$2" cur opt local -a words shift 2