changeset 30067:faf8de1c2f0d v9.0.0371

patch 9.0.0371: compiler warning for uninitialized variable Commit: https://github.com/vim/vim/commit/06fef1b2bdc07c6170b178e34b4712c21bd81a2e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 3 21:53:28 2022 +0100 patch 9.0.0371: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Sep 2022 23:00:03 +0200
parents 85efdf877128
children e416076a28f9
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- a/src/version.c
+++ b/src/version.c
@@ -708,6 +708,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    371,
+/**/
     370,
 /**/
     369,