0
0
mirror of https://github.com/vim/vim.git synced 2025-09-15 23:23:38 -04:00

patch 9.0.0435: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it.
This commit is contained in:
Bram Moolenaar 2022-09-10 12:36:00 +01:00
parent 9ba2786f15
commit f21d546d8f
2 changed files with 3 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ get_lval(
var2.v_type = VAR_UNKNOWN;
while (*p == '[' || (*p == '.' && p[1] != '=' && p[1] != '.'))
{
int r;
int r = OK;
if (*p == '.' && lp->ll_tv->v_type != VAR_DICT)
{

View File

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