summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-03 14:55:55 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-03 14:55:55 +0100
commit4649ded2877508fe343cbcf6f7e7fd277be0aab3 (patch)
tree40db67ea0e028a62d9b5ac849fdc910c1a977817
parent32a214e78df0120f92fe049eab1385c60f0cdb0b (diff)
downloadvim-git-4649ded2877508fe343cbcf6f7e7fd277be0aab3.tar.gz
patch 7.4.950v7.4.950
Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca)
-rw-r--r--src/eval.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 7ec7364a7..2d6c34b92 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -900,6 +900,7 @@ eval_init()
set_vim_var_nr(VV_SEARCHFORWARD, 1L);
set_vim_var_nr(VV_HLSEARCH, 1L);
set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc());
+ set_vim_var_list(VV_ERRORS, list_alloc());
set_reg_var(0); /* default for v:register is not 0 but '"' */
#ifdef EBCDIC
diff --git a/src/version.c b/src/version.c
index 90f08e9a8..31273feb2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 950,
+/**/
949,
/**/
948,