commit | af59e34f1bf214ec6f2d0304c1c5b11ecda25a83 | [log] [tgz] |
---|---|---|
author | LemonBoy <thatlemon@gmail.com> | Sun Apr 24 21:55:00 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Apr 24 21:55:00 2022 +0100 |
tree | dba5ffd079bf486f9a75085951877ad6321b8517 | |
parent | aac12daa61d9e84616771ec9242fd232f46786e6 [diff] [blame] |
patch 8.2.4822: setting ufunc to NULL twice Problem: Setting ufunc to NULL twice. Solution: Set ufunc to NULL in find_exported(). (closes #19275)
diff --git a/src/eval.c b/src/eval.c index f7445bf..61b09fb 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -6159,7 +6159,7 @@ 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