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:
parent
5b12c236cf
commit
c4c7c8af5d
@ -355,10 +355,7 @@ wins_reinit (void)
|
||||
void
|
||||
wins_show (WINDOW *win, char *label)
|
||||
{
|
||||
int startx, starty, height, width;
|
||||
|
||||
getbegyx (win, starty, startx);
|
||||
getmaxyx (win, height, width);
|
||||
int width = getmaxx (win);
|
||||
|
||||
box (win, 0, 0);
|
||||
mvwaddch (win, 2, 0, ACS_LTEE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user