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

patch 8.2.3425: warning for using uninitialized variable

Problem:    Warning for using uninitialized variable.
Solution:   Initialize it. (John Marriott)
This commit is contained in:
Bram Moolenaar 2021-09-11 12:15:09 +02:00
parent f14b8ba137
commit 56e14698b4
2 changed files with 4 additions and 2 deletions

View File

@ -4787,8 +4787,8 @@ set_chars_option(win_T *wp, char_u **varp)
int round, i, len, entries;
char_u *p, *s;
int c1 = 0, c2 = 0, c3 = 0;
char_u *last_multispace; // Last occurrence of "multispace:"
int multispace_len = 0; // Length of lcs-multispace string
char_u *last_multispace = NULL; // Last occurrence of "multispace:"
int multispace_len = 0; // Length of lcs-multispace string
struct charstab
{
int *cp;

View File

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