aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-02 09:21:25 -0400
committerGitHub <noreply@github.com>2021-04-02 09:21:25 -0400
commitcf6c23fb0f1e67484103da9fc583abfbc6e6db91 (patch)
tree69802c718938fb1d58560fc39f26784181b434b9 /src/nvim/ops.c
parent3f7cd18c4a416ea8805ffee445ec90d703806c78 (diff)
parent4f3396e128b0a1820fbb7f8e138def0322571244 (diff)
downloadrneovim-cf6c23fb0f1e67484103da9fc583abfbc6e6db91.tar.gz
rneovim-cf6c23fb0f1e67484103da9fc583abfbc6e6db91.tar.bz2
rneovim-cf6c23fb0f1e67484103da9fc583abfbc6e6db91.zip
Merge pull request #14273 from janlazo/clang-warnings
clang: resolve logic error and dead store warnings
Diffstat (limited to 'src/nvim/ops.c')
-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;