From: Bram Moolenaar Date: Wed, 1 Jul 2020 14:00:44 +0000 (+0200) Subject: patch 8.2.1109: still crashing when using s:variable X-Git-Tag: v8.2.1109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=086eb18ba16164ca5258068cff9c4b2db742f2ef;p=vim 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/version.c b/src/version.c index 2691996ad..128fe6c40 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1109, /**/ 1108, /**/ diff --git a/src/vim9compile.c b/src/vim9compile.c index fdb422bf2..b3ed77d75 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -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)