mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0210: Coverity complains about uninitialized field
Problem: Coverity complains about uninitialized field. Solution: Initialize the field.
This commit is contained in:
@@ -3678,6 +3678,7 @@ evaluate_const_and_or(char_u **arg, cctx_T *cctx, char *op, typval_T *tv)
|
||||
// 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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user