clang/'Logic error': set vcol in do_put()

This commit is contained in:
Jan Edmund Lazo
2021-04-01 20:58:03 -04:00
parent 3f7cd18c4a
commit 5bf94259c1

View File

@@ -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;