]> granicus.if.org Git - vim/commitdiff
patch 8.2.1109: still crashing when using s:variable v8.2.1109
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Jul 2020 14:00:44 +0000 (16:00 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Jul 2020 14:00:44 +0000 (16:00 +0200)
Problem:    Still crashing when using s:variable.
Solution:   Remove assignment. (Ken Takata)

src/version.c
src/vim9compile.c

index 2691996ad8c7e96ecc25f4d6e845363f006de9ce..128fe6c404784fe6973de82e2ce81faa81276617 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1109,
 /**/
     1108,
 /**/
index fdb422bf28e8c3d71dcc89ecca377aa43a1d4b8b..b3ed77d75d7edb7f021052f37333970159e4b07f 100644 (file)
@@ -2336,7 +2336,7 @@ get_script_item_idx(int sid, char_u *name, int check_writable)
     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)