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

patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused

Problem:    "cctx" argument of find_func_even_dead() is unused.
Solution:   Remove the argument.
This commit is contained in:
Bram Moolenaar
2022-01-13 21:15:21 +00:00
parent c43e6235c7
commit d9d2fd0aa3
12 changed files with 43 additions and 41 deletions

View File

@@ -2727,7 +2727,7 @@ eval_variable(
}
else if (in_vim9script() && (flags & EVAL_VAR_NO_FUNC) == 0)
{
ufunc_T *ufunc = find_func(name, FALSE, NULL);
ufunc_T *ufunc = find_func(name, FALSE);
// In Vim9 script we can get a function reference by using the
// function name.
@@ -3063,7 +3063,7 @@ lookup_scriptitem(
is_global = TRUE;
fname = name + 2;
}
if (find_func(fname, is_global, NULL) != NULL)
if (find_func(fname, is_global) != NULL)
res = OK;
}
}