Skip to content

Commit f21d546

Browse files
committed
patch 9.0.0435: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. Solution: Initialize it.
1 parent 9ba2786 commit f21d546

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ get_lval(
11211121
var2.v_type = VAR_UNKNOWN;
11221122
while (*p == '[' || (*p == '.' && p[1] != '=' && p[1] != '.'))
11231123
{
1124-
int r;
1124+
int r = OK;
11251125

11261126
if (*p == '.' && lp->ll_tv->v_type != VAR_DICT)
11271127
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static char *(features[]) =
703703

704704
static int included_patches[] =
705705
{ /* Add new patch number below this line */
706+
/**/
707+
435,
706708
/**/
707709
434,
708710
/**/

0 commit comments

Comments
 (0)