From 5bf94259c1c5f763c2dd3f102f984a87928e663a Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 1 Apr 2021 20:58:03 -0400 Subject: [PATCH] clang/'Logic error': set vcol in do_put() --- src/nvim/ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 2d351f4dba..2cd71f2360 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -2807,7 +2807,7 @@ void do_put(int regname, yankreg_T *reg, int dir, long count, int flags) size_t y_size; size_t oldlen; int y_width = 0; - colnr_T vcol; + colnr_T vcol = 0; int delcount; int incr = 0; struct block_def bd;