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:
parent
ece74ab103
commit
72e697d189
@ -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;
|
||||
|
@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1933,
|
||||
/**/
|
||||
1932,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user