0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4637: warning for using uninitialized variable

Problem:    Warning for using uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.
This commit is contained in:
Bram Moolenaar
2022-03-27 18:11:05 +01:00
parent 1501b63f8d
commit 565d1278cb
2 changed files with 3 additions and 1 deletions

View File

@@ -2782,7 +2782,7 @@ parse_command_modifiers(
cmdmod_T *cmod, cmdmod_T *cmod,
int skip_only) int skip_only)
{ {
char_u *cmd_start; char_u *cmd_start = NULL;
char_u *p; char_u *p;
int starts_with_colon = FALSE; int starts_with_colon = FALSE;
int vim9script = in_vim9script(); int vim9script = in_vim9script();

View File

@@ -750,6 +750,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 */
/**/
4637,
/**/ /**/
4636, 4636,
/**/ /**/