1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

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.
This commit is contained in:
Frank Terbeck 2015-12-30 14:58:32 +01:00
parent 5f3e47ca5e
commit dab6e7c231
2 changed files with 6 additions and 1 deletions

View file

@ -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=(