0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1933

Problem:    Compiler warning about uninitialzed variable. (Yegappan)
Solution:   Give it a dummy value.
This commit is contained in:
Bram Moolenaar 2016-06-13 22:48:01 +02:00
parent ece74ab103
commit 72e697d189
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1933,
/**/
1932,
/**/