mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
window: Silence PVS/V547: height may be changed by curwin ptr
This commit is contained in:
@@ -4807,7 +4807,7 @@ void win_new_height(win_T *wp, int height)
|
||||
// call win_new_height() recursively.
|
||||
validate_cursor();
|
||||
}
|
||||
if (wp->w_height != prev_height) {
|
||||
if (wp->w_height != prev_height) { // -V547
|
||||
return; // Recursive call already changed the size, bail out.
|
||||
}
|
||||
if (wp->w_wrow != wp->w_prev_fraction_row) {
|
||||
|
Reference in New Issue
Block a user