diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-09 10:02:54 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-09 10:29:31 +0300 |
commit | 92759ef34fabe8ffb81f32bdda17f999f868082d (patch) | |
tree | 6476a58eeb1bc23b42a83b9e918d6bd6dfafcd9d /src | |
parent | 840027c7f5720ab7c09b7b9a8aa4f3cc0c8cf777 (diff) | |
download | rneovim-92759ef34fabe8ffb81f32bdda17f999f868082d.tar.gz rneovim-92759ef34fabe8ffb81f32bdda17f999f868082d.tar.bz2 rneovim-92759ef34fabe8ffb81f32bdda17f999f868082d.zip |
buffer: Fix PVS/V560: condition was checked three lines above
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 1a5b7ec612..a4ba30337d 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -5362,7 +5362,7 @@ void bufhl_clear_line_range(buf_T *buf, if (line > line_end) { break; } - if (line_start <= line && line <= line_end) { + if (line_start <= line) { BufhlLineStatus status = bufhl_clear_line(l, src_id, line); if (status != kBLSUnchanged) { if (line > last_changed) { |