mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
PVS/V547: window.c: Expression is always true
This commit is contained in:
@@ -4392,11 +4392,11 @@ static void frame_setheight(frame_T *curfrp, int height)
|
||||
room_cmdline = 0;
|
||||
}
|
||||
|
||||
if (height <= room + room_cmdline)
|
||||
if (height <= room + room_cmdline) {
|
||||
break;
|
||||
}
|
||||
if (run == 2 || curfrp->fr_width == Columns) {
|
||||
if (height > room + room_cmdline)
|
||||
height = room + room_cmdline;
|
||||
height = room + room_cmdline;
|
||||
break;
|
||||
}
|
||||
frame_setheight(curfrp->fr_parent, height
|
||||
|
Reference in New Issue
Block a user