diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:24:57 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:24:57 +0300 |
commit | c8648daab38987aa3351fff95273cea7be7b5477 (patch) | |
tree | 72682e971e95b2d617b0a18b258601273e2fc7a6 | |
parent | d9c010e45d5078b98bebb031a3583489c9e8bd32 (diff) | |
download | rneovim-c8648daab38987aa3351fff95273cea7be7b5477.tar.gz rneovim-c8648daab38987aa3351fff95273cea7be7b5477.tar.bz2 rneovim-c8648daab38987aa3351fff95273cea7be7b5477.zip |
window: Silence PVS/V547: height may be changed by curwin ptr
-rw-r--r-- | src/nvim/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index b4ef901d94..ee55bfe0f2 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -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) { |