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:
@@ -819,7 +819,7 @@ win_line(
|
|||||||
{
|
{
|
||||||
char_u *prev_ptr = ptr;
|
char_u *prev_ptr = ptr;
|
||||||
chartabsize_T cts;
|
chartabsize_T cts;
|
||||||
int charsize;
|
int charsize = 0;
|
||||||
|
|
||||||
init_chartabsize_arg(&cts, wp, lnum, vcol, line, ptr);
|
init_chartabsize_arg(&cts, wp, lnum, vcol, line, ptr);
|
||||||
while (cts.cts_vcol < v && *cts.cts_ptr != NUL)
|
while (cts.cts_vcol < v && *cts.cts_ptr != NUL)
|
||||||
|
|||||||
@@ -735,6 +735,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 */
|
||||||
|
/**/
|
||||||
|
72,
|
||||||
/**/
|
/**/
|
||||||
71,
|
71,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user