From 16feae865c61262389c5e9584b8908f2e7939f25 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 30 Jul 2014 12:37:53 +0200 Subject: [PATCH] gsu: Add missing declaration of a local variable. "opt" is used but not declared local. --- misc/gsu/subcommand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2