From dab6e7c2319c0aadb39eb9cce677e0a35da8314d Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 30 Dec 2015 14:58:32 +0100 Subject: 37451: vcs_info: Declare "msgs" in early context The parameter *is* being declared with the redefinition of the function, but not in its initial form, which gets you a warning about the parameter being defined globally. This fixes it. --- Functions/VCS_Info/vcs_info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/VCS_Info') diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info index 628dde9b1..f13f6b501 100644 --- a/Functions/VCS_Info/vcs_info +++ b/Functions/VCS_Info/vcs_info @@ -10,7 +10,7 @@ setopt localoptions noksharrays extendedglob NO_shwordsplit local file func sys -local -a static_functions +local -a static_functions msgs local -i maxexports static_functions=( -- cgit 1.4.1