Skip to content

Commit

Permalink
patch 9.0.0072: compiler warning for uninitialized variable
Browse files Browse the repository at this point in the history
Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it. (John Marriott)
  • Loading branch information
brammool committed Jul 25, 2022
1 parent ecdc82e commit 6d023f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawline.c
Expand Up @@ -819,7 +819,7 @@ win_line(
{
char_u *prev_ptr = ptr;
chartabsize_T cts;
int charsize;
int charsize = 0;

init_chartabsize_arg(&cts, wp, lnum, vcol, line, ptr);
while (cts.cts_vcol < v && *cts.cts_ptr != NUL)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -735,6 +735,8 @@ static char *(features[]) =

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

0 comments on commit 6d023f9

Please sign in to comment.