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:
@@ -3777,6 +3777,7 @@ call_func_rettv(
|
||||
if (s == NULL || *s == NUL)
|
||||
{
|
||||
emsg(_(e_empty_function_name));
|
||||
ret = FAIL;
|
||||
goto theend;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user