mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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)
|
if (s == NULL || *s == NUL)
|
||||||
{
|
{
|
||||||
emsg(_(e_empty_function_name));
|
emsg(_(e_empty_function_name));
|
||||||
|
ret = FAIL;
|
||||||
goto theend;
|
goto theend;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2978,
|
||||||
/**/
|
/**/
|
||||||
2977,
|
2977,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user