summaryrefslogtreecommitdiff
path: root/src/userfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-06 15:06:54 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-06 15:06:54 +0000
commit2336c376d5796446d44622b0dfa8fd3fd1a5d22b (patch)
tree65c5bf2e5140e7fb9f64065c5da69447b580c7c4 /src/userfunc.c
parent8603be338ac810446f23c092f21bc6082f787519 (diff)
downloadvim-git-8.2.3753.tar.gz
patch 8.2.3753: Vim9: function unreferenced while called is never deletedv8.2.3753
Problem: Vim9: function unreferenced while called is never deleted. Solution: Delete a function when no longer referenced.
Diffstat (limited to 'src/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 7fc764e4d..4f86c0791 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -2281,7 +2281,7 @@ func_free(ufunc_T *fp, int force)
* Free all things that a function contains and free the function itself.
* When "force" is TRUE we are exiting.
*/
- static void
+ void
func_clear_free(ufunc_T *fp, int force)
{
func_clear(fp, force);