mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
window: Fix PVS/V547: expression already checked in previous if()
This commit is contained in:
@@ -4466,7 +4466,6 @@ static void frame_setwidth(frame_T *curfrp, int width)
|
||||
if (width <= room)
|
||||
break;
|
||||
if (run == 2 || curfrp->fr_height >= ROWS_AVAIL) {
|
||||
if (width > room)
|
||||
width = room;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user