mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +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;
|
room_cmdline = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (height <= room + room_cmdline)
|
if (height <= room + room_cmdline) {
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
if (run == 2 || curfrp->fr_width == Columns) {
|
if (run == 2 || curfrp->fr_width == Columns) {
|
||||||
if (height > room + room_cmdline)
|
height = room + room_cmdline;
|
||||||
height = room + room_cmdline;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
frame_setheight(curfrp->fr_parent, height
|
frame_setheight(curfrp->fr_parent, height
|
||||||
|
Reference in New Issue
Block a user