mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
search: Fix PVS/V560: condition checked in previous if with goto
This commit is contained in:
@@ -3396,11 +3396,13 @@ again:
|
|||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (do_include || r < 1) {
|
if (do_include) {
|
||||||
/* Include up to the '>'. */
|
// Include up to the '>'.
|
||||||
while (*get_cursor_pos_ptr() != '>')
|
while (*get_cursor_pos_ptr() != '>') {
|
||||||
if (inc_cursor() < 0)
|
if (inc_cursor() < 0) {
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
char_u *c = get_cursor_pos_ptr();
|
char_u *c = get_cursor_pos_ptr();
|
||||||
// Exclude the '<' of the end tag.
|
// Exclude the '<' of the end tag.
|
||||||
|
Reference in New Issue
Block a user