Remove unused variables from wins_show().

Seen with "-Wunused-but-set-variable".

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-04-03 22:04:14 +02:00
parent 5b12c236cf
commit c4c7c8af5d

View File

@ -355,10 +355,7 @@ wins_reinit (void)
void void
wins_show (WINDOW *win, char *label) wins_show (WINDOW *win, char *label)
{ {
int startx, starty, height, width; int width = getmaxx (win);
getbegyx (win, starty, startx);
getmaxyx (win, height, width);
box (win, 0, 0); box (win, 0, 0);
mvwaddch (win, 2, 0, ACS_LTEE); mvwaddch (win, 2, 0, ACS_LTEE);