mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +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:
parent
5f3e47ca5e
commit
dab6e7c231
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2015-12-30 Frank Terbeck <ft@bewatermyfriend.org>
|
||||
|
||||
* 37451: Functions/VCS_Info/vcs_info: vcs_info: Declare "msgs" in
|
||||
early context
|
||||
|
||||
2015-12-27 Axel Beckert <abe@deuxchevaux.org>
|
||||
|
||||
* 37438: Completion/Debian/Command/_aptitude: Also parse --help/-h
|
||||
|
|
|
|||
|
|
@ -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=(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue