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

patch 9.0.0371: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize the variable. (John Marriott)
This commit is contained in:
Bram Moolenaar
2022-09-03 21:53:28 +01:00
parent 1d84f7608f
commit 06fef1b2bd
2 changed files with 3 additions and 1 deletions

View File

@@ -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)