Remove dead assignments flagged by Clang static analysis

This commit is contained in:
David Crosby
2015-07-15 08:55:08 -06:00
committed by Tatsuya Kinoshita
parent 2d9d2494fc
commit 7e5b33c30e
9 changed files with 3 additions and 22 deletions

1
menu.c
View File

@@ -361,7 +361,6 @@ geom_menu(Menu *menu, int x, int y, int mselect)
if (win_w > COLS) {
menu->width = COLS - 2 * FRAME_WIDTH;
menu->width -= menu->width % FRAME_WIDTH;
win_w = menu->width + 2 * FRAME_WIDTH;
}
}
menu->x = win_x + FRAME_WIDTH;