# HG changeset patch # User Bram Moolenaar # Date 1623494702 -7200 # Node ID d254f5c78b5ac74361ee69f4f8774d178ffa3351 # Parent 042b0f754015fe285496231a4c89f41a75856632 patch 8.2.2978: warning for uninitialized variable Commit: https://github.com/vim/vim/commit/744aecf8777e86fac6d30f072e90e2de353b8ea1 Author: Bram Moolenaar Date: Sat Jun 12 12:33:48 2021 +0200 patch 8.2.2978: warning for uninitialized variable Problem: Warning for uninitialized variable. Solution: Set return value to FAIL. diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -3777,6 +3777,7 @@ call_func_rettv( if (s == NULL || *s == NUL) { emsg(_(e_empty_function_name)); + ret = FAIL; goto theend; } } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2978, +/**/ 2977, /**/ 2976,