0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2978: warning for uninitialized variable

Problem:    Warning for uninitialized variable.
Solution:   Set return value to FAIL.
This commit is contained in:
Bram Moolenaar
2021-06-12 12:33:48 +02:00
parent 22db0d549f
commit 744aecf877
2 changed files with 3 additions and 0 deletions

View File

@@ -3777,6 +3777,7 @@ call_func_rettv(
if (s == NULL || *s == NUL)
{
emsg(_(e_empty_function_name));
ret = FAIL;
goto theend;
}
}