commit | 744aecf8777e86fac6d30f072e90e2de353b8ea1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 12 12:33:48 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 12 12:33:48 2021 +0200 |
tree | 6b71e47c58aa8469456ce9914b689873a5a21190 | |
parent | 22db0d549f64aa3d8a6e366b70eb8d7e66933b82 [diff] [blame] |
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 index 0d15a70..ca181d5 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -3777,6 +3777,7 @@ if (s == NULL || *s == NUL) { emsg(_(e_empty_function_name)); + ret = FAIL; goto theend; } }