0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1109: still crashing when using s:variable

Problem:    Still crashing when using s:variable.
Solution:   Remove assignment. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2020-07-01 16:00:44 +02:00
parent d58d4f90ae
commit 086eb18ba1
2 changed files with 3 additions and 1 deletions

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1109,
/**/
1108,
/**/

View 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)