Skip to content

Commit fbf9c6b

Browse files
committed
patch 7.4.1243
Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (Elias Diem)
1 parent 8d8c509 commit fbf9c6b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ json_decode_object(js_read_T *reader, typval_T *res)
339339
typval_T item;
340340
dictitem_T *di;
341341
char_u buf[NUMBUFLEN];
342-
char_u *key;
342+
char_u *key = NULL;
343343
int ret;
344344

345345
if (res != NULL && rettv_dict_alloc(res) == FAIL)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
1243,
745747
/**/
746748
1242,
747749
/**/

0 commit comments

Comments
 (0)