commit | 086eb18ba16164ca5258068cff9c4b2db742f2ef | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jul 01 16:00:44 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jul 01 16:00:44 2020 +0200 |
tree | 944c4eca8f96d6cd3794834f2683abe821a931a0 | |
parent | d58d4f90aeb381045000ea46493b5bd9b9d1fa23 [diff] [blame] |
patch 8.2.1109: still crashing when using s:variable Problem: Still crashing when using s:variable. Solution: Remove assignment. (Ken Takata)
diff --git a/src/vim9compile.c b/src/vim9compile.c index fdb422b..b3ed77d 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -2336,7 +2336,7 @@ imported_T * find_imported(char_u *name, size_t len, cctx_T *cctx) { - scriptitem_T *si = SCRIPT_ITEM(current_sctx.sc_sid); + scriptitem_T *si; int idx; if (current_sctx.sc_sid <= 0)