diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-13 21:15:21 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-13 21:15:21 +0000 |
commit | d9d2fd0aa33dd9f7460d6f1e403505a60f7ce2fc (patch) | |
tree | ce93edde74aa48c017e39bd350b79a7955d89b22 /src/evalvars.c | |
parent | c43e6235c7b3e64f81c6a4e294e4e47abf7a869a (diff) |
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unusedv8.2.4086
Problem: "cctx" argument of find_func_even_dead() is unused.
Solution: Remove the argument.
Diffstat (limited to 'src/evalvars.c')
-rw-r--r-- | src/evalvars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index d111b80ff8..15999bc746 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -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; } } |