summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-12-08 12:59:48 +0000
committerPeter Stephenson <pws@zsh.org>2015-12-08 12:59:48 +0000
commit4105f79a3a9b5a85c4ce167865e5ac661be160dc (patch)
tree33c70d6680eaad3bd8d949d12e0801f21510a602
parent59de978c7edff58b45d4da16ff248cbf564e36bd (diff)
downloadzsh-4105f79a3a9b5a85c4ce167865e5ac661be160dc.tar.gz
zsh-4105f79a3a9b5a85c4ce167865e5ac661be160dc.tar.xz
zsh-4105f79a3a9b5a85c4ce167865e5ac661be160dc.zip
37347: Remove incorrect local for msgs in VCS info
-rw-r--r--ChangeLog3
-rw-r--r--Functions/VCS_Info/VCS_INFO_nvcsformats1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3d463e7fa..5b9558610 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-12-08  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* 37347: Functions/VCS_Info/VCS_INFO_nvcsformats: msgs
+	shouldn't be local here, but in caller (where it already is).
+
 	* users/21071: Src/Zle/zle_keymap.c: Multibyte key sequences
 	couldn't be bound if the initial byte was the start of any
 	self-insert sequence.
diff --git a/Functions/VCS_Info/VCS_INFO_nvcsformats b/Functions/VCS_Info/VCS_INFO_nvcsformats
index 203a86d23..581aa5a97 100644
--- a/Functions/VCS_Info/VCS_INFO_nvcsformats
+++ b/Functions/VCS_Info/VCS_INFO_nvcsformats
@@ -4,7 +4,6 @@
 
 setopt localoptions noksharrays NO_shwordsplit
 local c v rr
-local -a msgs
 
 if [[ $1 == '-preinit-' ]] ; then
     c='default'