aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-08 23:30:00 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-06-08 23:30:00 +0200
commit68500e84c1d76c3db5919cf9b7f179eecbeee718 (patch)
treed92a200dd971938cc35323c898bd5df8e2eb193f
parentb2565a89c6d0f55d061e46329a17561f8749219b (diff)
downloadpowerdebug-68500e84c1d76c3db5919cf9b7f179eecbeee718.tar.gz
remove unused variable
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--display.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/display.c b/display.c
index 2d63908..2ab2167 100644
--- a/display.c
+++ b/display.c
@@ -34,11 +34,10 @@ static WINDOW *header_win;
static WINDOW *regulator_win;
static WINDOW *clock_win;
static WINDOW *sensor_win;
-static WINDOW *selected_win;
static WINDOW *footer_win;
int maxx, maxy;
-char footer_items[NUM_FOOTER_ITEMS][64];
+static char footer_items[NUM_FOOTER_ITEMS][64];
static char *win_names[TOTAL_FEATURE_WINS] = {
"Clocks",
@@ -149,8 +148,6 @@ void create_selectedwindow(int selectedwindow)
break;
}
- selected_win = win;
-
refresh();
}