mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.4.581
Problem: Compiler warnings for unitinialized variables. (John Little) Solution: Initialize the variables.
This commit is contained in:
@@ -5663,8 +5663,8 @@ read_viminfo_register(virp, force)
|
|||||||
int set_prev = FALSE;
|
int set_prev = FALSE;
|
||||||
char_u *str;
|
char_u *str;
|
||||||
char_u **array = NULL;
|
char_u **array = NULL;
|
||||||
int new_type;
|
int new_type = MCHAR; /* init to shut up compiler */
|
||||||
colnr_T new_width;
|
colnr_T new_width = 0; /* init to shut up compiler */
|
||||||
|
|
||||||
/* We only get here (hopefully) if line[0] == '"' */
|
/* We only get here (hopefully) if line[0] == '"' */
|
||||||
str = virp->vir_line + 1;
|
str = virp->vir_line + 1;
|
||||||
@@ -5747,6 +5747,7 @@ read_viminfo_register(virp, force)
|
|||||||
do_it = FALSE;
|
do_it = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (do_it)
|
if (do_it)
|
||||||
{
|
{
|
||||||
/* free y_array[] */
|
/* free y_array[] */
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
581,
|
||||||
/**/
|
/**/
|
||||||
580,
|
580,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user