diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-16 00:10:16 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-17 19:06:50 -0500 |
commit | 1042338c0062ea091ea1e52b161fd25adcdc927f (patch) | |
tree | 570bba5193ea60c483f5324b0c153ea1561c2e40 /src/nvim/ops.c | |
parent | d811fab0ad3e679acc27a4ff8f399fcf04726aa9 (diff) | |
download | rneovim-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.c | 2 |
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 |