# HG changeset patch # User Bram Moolenaar # Date 1580854503 -3600 # Node ID 097c46668bd1ba5a7a70a591db743736759efcd7 # Parent 51bc26d4a393fd7f18bc46c6696ba934c92418a1 patch 8.2.0210: Coverity complains about uninitialized field Commit: https://github.com/vim/vim/commit/eed3571fe0f7d2ae779e5d36388cc4fe16c3516e Author: Bram Moolenaar Date: Tue Feb 4 23:08:14 2020 +0100 patch 8.2.0210: Coverity complains about uninitialized field Problem: Coverity complains about uninitialized field. Solution: Initialize the field. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 210, +/**/ 209, /**/ 208, diff --git a/src/vim9compile.c b/src/vim9compile.c --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -3678,6 +3678,7 @@ evaluate_const_and_or(char_u **arg, cctx // eval the next expression *arg = skipwhite(p + 2); tv2.v_type = VAR_UNKNOWN; + tv2.v_lock = 0; if ((opchar == '|' ? evaluate_const_expr3(arg, cctx, &tv2) : evaluate_const_expr7(arg, cctx, &tv2)) == FAIL) {