about summary refs log tree commit diff
diff options
context:
space:
mode:
-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'