mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
refactor: maybe suppress a PVS warning
This commit is contained in:
@@ -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_append_owned_tv(winlist, tv);
|
||||
} else if (size_count != NULL) {
|
||||
assert(first_size_win != NULL && first_scroll_win != NULL);
|
||||
(*size_count)++;
|
||||
if (*first_size_win == NULL) {
|
||||
*first_size_win = wp;
|
||||
|
Reference in New Issue
Block a user