aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-16 00:10:16 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-17 19:06:50 -0500
commit1042338c0062ea091ea1e52b161fd25adcdc927f (patch)
tree570bba5193ea60c483f5324b0c153ea1561c2e40 /src/nvim/ops.c
parentd811fab0ad3e679acc27a4ff8f399fcf04726aa9 (diff)
downloadrneovim-1042338c0062ea091ea1e52b161fd25adcdc927f.tar.gz
rneovim-1042338c0062ea091ea1e52b161fd25adcdc927f.tar.bz2
rneovim-1042338c0062ea091ea1e52b161fd25adcdc927f.zip
clang/'Logic error': zero-init struct
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 5da81dbff6..da2b81fd0a 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -1372,7 +1372,7 @@ int op_delete(oparg_T *oap)
linenr_T lnum;
char_u *ptr;
char_u *newp, *oldp;
- struct block_def bd;
+ struct block_def bd = { 0 };
linenr_T old_lcount = curbuf->b_ml.ml_line_count;
if (curbuf->b_ml.ml_flags & ML_EMPTY) { // nothing to do