From c4c7c8af5d4180905f1b1401a259ec8ce3c5ac75 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 3 Apr 2011 22:04:14 +0200 Subject: Remove unused variables from wins_show(). Seen with "-Wunused-but-set-variable". Signed-off-by: Lukas Fleischer --- src/wins.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wins.c b/src/wins.c index 4f569b8..ca5171f 100644 --- a/src/wins.c +++ b/src/wins.c @@ -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); -- cgit v1.2.3-70-g09d2