From 72e697d189616265ecefe0df4509d476df3bae40 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 13 Jun 2016 22:48:01 +0200 Subject: [PATCH] patch 7.4.1933 Problem: Compiler warning about uninitialzed variable. (Yegappan) Solution: Give it a dummy value. --- src/ex_getln.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ex_getln.c b/src/ex_getln.c index 2f5793a65..fc0d995a8 100644 --- 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; diff --git a/src/version.c b/src/version.c index b06ede38d..54c135cf0 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1933, /**/ 1932, /**/ -- 2.50.1