From: Bram Moolenaar Date: Mon, 13 Jun 2016 20:48:01 +0000 (+0200) Subject: patch 7.4.1933 X-Git-Tag: v7.4.1933 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72e697d189616265ecefe0df4509d476df3bae40;p=vim patch 7.4.1933 Problem: Compiler warning about uninitialzed variable. (Yegappan) Solution: Give it a dummy value. --- 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, /**/