0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1243

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it. (Elias Diem)
This commit is contained in:
Bram Moolenaar
2016-02-02 19:43:57 +01:00
parent 8d8c509ac8
commit fbf9c6b6c3
2 changed files with 3 additions and 1 deletions

View File

@@ -339,7 +339,7 @@ json_decode_object(js_read_T *reader, typval_T *res)
typval_T item; typval_T item;
dictitem_T *di; dictitem_T *di;
char_u buf[NUMBUFLEN]; char_u buf[NUMBUFLEN];
char_u *key; char_u *key = NULL;
int ret; int ret;
if (res != NULL && rettv_dict_alloc(res) == FAIL) if (res != NULL && rettv_dict_alloc(res) == FAIL)

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1243,
/**/ /**/
1242, 1242,
/**/ /**/