mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
buffer: Fix PVS/V560: condition was checked three lines above
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user