summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-13 22:48:01 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-13 22:48:01 +0200
commit72e697d189616265ecefe0df4509d476df3bae40 (patch)
treee3bf3bfc5f005b7e61a0d076dd35648ddca45703
parentece74ab103eca15e17435efbe9cb21039787f1ea (diff)
downloadvim-git-72e697d189616265ecefe0df4509d476df3bae40.tar.gz
patch 7.4.1933v7.4.1933
Problem: Compiler warning about uninitialzed variable. (Yegappan) Solution: Give it a dummy value.
-rw-r--r--src/ex_getln.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
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
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1933,
+/**/
1932,
/**/
1931,