mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
refactor: maybe suppress a PVS warning
This commit is contained in:
parent
65d95fa415
commit
27fceca501
@ -5390,6 +5390,7 @@ static int check_window_scroll_resize(int *size_count, win_T **first_scroll_win,
|
|||||||
// tv_list_set_item(winlist, listidx++, &tv);
|
// tv_list_set_item(winlist, listidx++, &tv);
|
||||||
tv_list_append_owned_tv(winlist, tv);
|
tv_list_append_owned_tv(winlist, tv);
|
||||||
} else if (size_count != NULL) {
|
} else if (size_count != NULL) {
|
||||||
|
assert(first_size_win != NULL && first_scroll_win != NULL);
|
||||||
(*size_count)++;
|
(*size_count)++;
|
||||||
if (*first_size_win == NULL) {
|
if (*first_size_win == NULL) {
|
||||||
*first_size_win = wp;
|
*first_size_win = wp;
|
||||||
|
Loading…
Reference in New Issue
Block a user