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

patch 8.2.4794: compiler warning for not initialized variable

Problem:    Compiler warning for not initialized variable.
Solution:   Initialize the variable. (John Marriott)
This commit is contained in:
Bram Moolenaar 2022-04-20 10:22:54 +01:00
parent 928a131356
commit 4c84dd33ad
2 changed files with 3 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ inindent(int extra)
void
op_reindent(oparg_T *oap, int (*how)(void))
{
long i;
long i = 0;
char_u *l;
int amount;
linenr_T first_changed = 0;

View File

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