diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-03 22:04:14 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-03 22:09:15 +0200 |
commit | c4c7c8af5d4180905f1b1401a259ec8ce3c5ac75 (patch) | |
tree | 081476998efbd147c4c29715c292c9fa46f2f301 /src | |
parent | 5b12c236cf68a182fb8075c7ec0797c4c64fd60c (diff) | |
download | calcurse-c4c7c8af5d4180905f1b1401a259ec8ce3c5ac75.tar.gz calcurse-c4c7c8af5d4180905f1b1401a259ec8ce3c5ac75.zip |
Remove unused variables from wins_show().
Seen with "-Wunused-but-set-variable".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/wins.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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); |