From: Bram Moolenaar Date: Thu, 3 Dec 2015 13:55:55 +0000 (+0100) Subject: patch 7.4.950 X-Git-Tag: v7.4.950 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4649ded2877508fe343cbcf6f7e7fd277be0aab3;p=vim patch 7.4.950 Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca) --- 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 @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 950, /**/ 949, /**/