From a1cca5d1272d73431e2c970b9782d83404090546 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 26 May 2014 11:37:16 +0100 Subject: [PATCH] Remove unused variable. --- riscos/gui/status_bar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/riscos/gui/status_bar.c b/riscos/gui/status_bar.c index 46a511f95..789e321fe 100644 --- a/riscos/gui/status_bar.c +++ b/riscos/gui/status_bar.c @@ -343,7 +343,7 @@ void ro_gui_status_bar_set_text(struct status_bar *sb, const char *text) */ void ro_gui_status_bar_resize(struct status_bar *sb) { - int window_width, window_height; + int window_width; int status_width, status_height; int redraw_left, redraw_right; wimp_window_state state; @@ -362,7 +362,6 @@ void ro_gui_status_bar_resize(struct status_bar *sb) return; } window_width = state.visible.x1 - state.visible.x0; - window_height = state.visible.y1 - state.visible.y0; /* recalculate the scaled width */