aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-01 20:58:03 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-02 08:23:40 -0400
commit5bf94259c1c5f763c2dd3f102f984a87928e663a (patch)
tree1ad59af411c6dfb83b63bbb8e020d7a6f554d04f /src
parent3f7cd18c4a416ea8805ffee445ec90d703806c78 (diff)
downloadrneovim-5bf94259c1c5f763c2dd3f102f984a87928e663a.tar.gz
rneovim-5bf94259c1c5f763c2dd3f102f984a87928e663a.tar.bz2
rneovim-5bf94259c1c5f763c2dd3f102f984a87928e663a.zip
clang/'Logic error': set vcol in do_put()
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ops.c2
1 files changed, 1 insertions, 1 deletions
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;