diff mbox

[09/28] remove unused variable

Message ID 1308256197-29155-9-git-send-email-daniel.lezcano@linaro.org
State Accepted
Headers show

Commit Message

Daniel Lezcano June 16, 2011, 8:29 p.m. UTC
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 display.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
diff mbox

Patch

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();
 }