]> granicus.if.org Git - vim/commitdiff
patch 7.4.950 v7.4.950
authorBram Moolenaar <Bram@vim.org>
Thu, 3 Dec 2015 13:55:55 +0000 (14:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 3 Dec 2015 13:55:55 +0000 (14:55 +0100)
Problem:    v:errors is not initialized.
Solution:   Initialze it to an empty list. (Thinca)

src/eval.c
src/version.c

index 7ec7364a74e1da249e8b1923b6c94da1f2d13198..2d6c34b92afa939dfe868bd7989563aecf5884cb 100644 (file)
@@ -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
index 90f08e9a891603c82c6defe0d72e07c9361c362e..31273feb25b7bc05134f8fbdc83a31b2096647b2 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    950,
 /**/
     949,
 /**/