Skip to content

Commit

Permalink
patch 8.2.3425: warning for using uninitialized variable
Browse files Browse the repository at this point in the history
Problem:    Warning for using uninitialized variable.
Solution:   Initialize it. (John Marriott)
  • Loading branch information
brammool committed Sep 11, 2021
1 parent f14b8ba commit 56e1469
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screen.c
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -755,6 +755,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3425,
/**/
3424,
/**/
Expand Down

0 comments on commit 56e1469

Please sign in to comment.