From: Bram Moolenaar Date: Sat, 3 Sep 2022 20:53:28 +0000 (+0100) Subject: patch 9.0.0371: compiler warning for uninitialized variable X-Git-Tag: v9.0.0371 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06fef1b2bdc07c6170b178e34b4712c21bd81a2e;p=vim patch 9.0.0371: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott) --- diff --git a/src/eval.c b/src/eval.c index b8aa79fe4..6b2d86b47 100644 --- a/src/eval.c +++ b/src/eval.c @@ -694,7 +694,7 @@ deref_function_name( { typval_T ref; char_u *name = *arg; - int save_flags; + int save_flags = 0; ref.v_type = VAR_UNKNOWN; if (evalarg != NULL) diff --git a/src/version.c b/src/version.c index b438a4629..d91605941 100644 --- a/src/version.c +++ b/src/version.c @@ -707,6 +707,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 371, /**/ 370, /**/