From fbf9c6b6c3bdb1c2eb42ea8c227e8ee021a7a8f2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 2 Feb 2016 19:43:57 +0100 Subject: [PATCH] patch 7.4.1243 Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (Elias Diem) --- src/json.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/json.c b/src/json.c index 72b065f9ac..f97d283120 100644 --- a/src/json.c +++ b/src/json.c @@ -339,7 +339,7 @@ json_decode_object(js_read_T *reader, typval_T *res) typval_T item; dictitem_T *di; char_u buf[NUMBUFLEN]; - char_u *key; + char_u *key = NULL; int ret; if (res != NULL && rettv_dict_alloc(res) == FAIL) diff --git a/src/version.c b/src/version.c index b252d99375..34922b6ea5 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 */ +/**/ + 1243, /**/ 1242, /**/