changeset 7893:df2b8af14072 v7.4.1243

commit https://github.com/vim/vim/commit/fbf9c6b6c3bdb1c2eb42ea8c227e8ee021a7a8f2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 2 19:43:57 2016 +0100 patch 7.4.1243 Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (Elias Diem)
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Feb 2016 19:45:05 +0100
parents cd38747db4f0
children ef15b397fcc1
files src/json.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/json.c
+++ b/src/json.c
@@ -339,7 +339,7 @@ json_decode_object(js_read_T *reader, ty
     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)
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1243,
+/**/
     1242,
 /**/
     1241,