diff options
author | LemonBoy <thatlemon@gmail.com> | 2022-04-24 21:55:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-24 21:55:00 +0100 |
commit | af59e34f1bf214ec6f2d0304c1c5b11ecda25a83 (patch) | |
tree | dba5ffd079bf486f9a75085951877ad6321b8517 /src/eval.c | |
parent | aac12daa61d9e84616771ec9242fd232f46786e6 (diff) | |
download | vim-git-af59e34f1bf214ec6f2d0304c1c5b11ecda25a83.tar.gz |
patch 8.2.4822: setting ufunc to NULL twicev8.2.4822
Problem: Setting ufunc to NULL twice.
Solution: Set ufunc to NULL in find_exported(). (closes #19275)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index f7445bf40..61b09fb6b 100644 --- a/src/eval.c +++ b/src/eval.c @@ -6159,7 +6159,7 @@ handle_subscript( char_u *exp_name; int cc; int idx; - ufunc_T *ufunc = NULL; + ufunc_T *ufunc; type_T *type; // Found script from "import {name} as name", script item name must |