changeset 9301:c3805fb080a6 v7.4.1933

commit https://github.com/vim/vim/commit/72e697d189616265ecefe0df4509d476df3bae40 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 13 22:48:01 2016 +0200 patch 7.4.1933 Problem: Compiler warning about uninitialzed variable. (Yegappan) Solution: Give it a dummy value.
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Jun 2016 23:00:05 +0200
parents 8a9695e6f91e
children a8f7f8b5dfc3
files src/ex_getln.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -6318,6 +6318,8 @@ handle_viminfo_history(
 		    len = vp[3].bv_len;
 		    p = lalloc(len + 2, TRUE);
 		}
+		else
+		    len = 0; /* for picky compilers */
 		if (p != NULL)
 		{
 		    viminfo_history[type][idx].time_set = vp[1].bv_nr;
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1933,
+/**/
     1932,
 /**/
     1931,