1
0
forked from aniani/vim

patch 9.0.0072: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it. (John Marriott)
This commit is contained in:
Bram Moolenaar
2022-07-25 21:15:45 +01:00
parent ecdc82e74e
commit 6d023f98df
2 changed files with 3 additions and 1 deletions

View File

@@ -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)

View File

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