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/vim9script.c b/src/vim9script.c
index 549c20f..baf2019 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -132,7 +132,7 @@
}
si->sn_state = SN_STATE_HAD_COMMAND;
- // Store the prefix with the script. It isused to find exported functions.
+ // Store the prefix with the script, it is used to find exported functions.
if (si->sn_autoload_prefix == NULL)
si->sn_autoload_prefix = get_autoload_prefix(si);
@@ -712,7 +712,7 @@
funcname[2] = (int)KE_SNR;
sprintf((char *)funcname + 3, "%ld_%s", (long)sid, name);
}
- *ufunc = find_func(funcname, FALSE, NULL);
+ *ufunc = find_func(funcname, FALSE);
if (funcname != buffer)
vim_free(funcname);