comparison src/eval.c @ 25328:0aac8880d74d v8.2.3201

patch 8.2.3201: crash in test Commit: https://github.com/vim/vim/commit/2b59df00d80ea8d2c0fcf4f4ae9a018c1790206f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 22 15:14:25 2021 +0200 patch 8.2.3201: crash in test Problem: Crash in test. Solution: Initialize "where".
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Jul 2021 15:15:04 +0200
parents cfbf40f749b0
children f03271631eb5
comparison
equal deleted inserted replaced
25327:2c14f38d3a73 25328:0aac8880d74d
3366 rettv->v_type = VAR_BOOL; 3366 rettv->v_type = VAR_BOOL;
3367 rettv->vval.v_number = n ? VVAL_TRUE : VVAL_FALSE; 3367 rettv->vval.v_number = n ? VVAL_TRUE : VVAL_FALSE;
3368 } 3368 }
3369 else 3369 else
3370 { 3370 {
3371 where_T where; 3371 where_T where = WHERE_INIT;
3372 3372
3373 where.wt_index = 0;
3374 where.wt_variable = TRUE; 3373 where.wt_variable = TRUE;
3375 res = check_type(want_type, actual, TRUE, where); 3374 res = check_type(want_type, actual, TRUE, where);
3376 } 3375 }
3377 } 3376 }
3378 } 3377 }