diff options
| author | Frank Terbeck <ft@bewatermyfriend.org> | 2015-12-30 14:58:32 +0100 |
|---|---|---|
| committer | Frank Terbeck <ft@bewatermyfriend.org> | 2015-12-30 15:23:08 +0100 |
| commit | dab6e7c2319c0aadb39eb9cce677e0a35da8314d (patch) | |
| tree | d30173e732b367a29055db25e8b3b1191a389311 /Functions/VCS_Info | |
| parent | 37438: C/D/C/_aptitude: Also parse -h output of aptitude 0.7.5 and later (diff) | |
| download | zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.tar zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.tar.gz zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.tar.bz2 zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.tar.lz zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.tar.xz zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.tar.zst zsh-dab6e7c2319c0aadb39eb9cce677e0a35da8314d.zip | |
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.
Diffstat (limited to 'Functions/VCS_Info')
| -rw-r--r-- | Functions/VCS_Info/vcs_info | 2 |
1 files changed, 1 insertions, 1 deletions
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=( |
