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.
diff --git a/src/evalvars.c b/src/evalvars.c
index d111b80..15999bc 100644
--- a/src/evalvars.c
+++ b/src/evalvars.c
@@ -2727,7 +2727,7 @@
}
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 @@
is_global = TRUE;
fname = name + 2;
}
- if (find_func(fname, is_global, NULL) != NULL)
+ if (find_func(fname, is_global) != NULL)
res = OK;
}
}