summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-22 15:14:25 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-22 15:14:25 +0200
commit2b59df00d80ea8d2c0fcf4f4ae9a018c1790206f (patch)
tree41a0709dbefac22013cd3282d5e53465a86008a1 /src/eval.c
parent7a3fe3e180bdbce8f193abdf399559c5154bdaae (diff)
patch 8.2.3201: crash in testv8.2.3201
Problem: Crash in test. Solution: Initialize "where".
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index bfe9f61361..fdee0089b3 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3368,9 +3368,8 @@ eval7t(
}
else
{
- where_T where;
+ where_T where = WHERE_INIT;
- where.wt_index = 0;
where.wt_variable = TRUE;
res = check_type(want_type, actual, TRUE, where);
}