From c86c772ce6c39f1f39e3f4046f4f79c65d41561b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 9 Jul 2014 20:04:27 +0100 Subject: Remove more dead code. --- riscos/window.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/riscos/window.c b/riscos/window.c index 519285032..ab8dd1306 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -972,8 +972,6 @@ static void gui_window_update_extent(struct gui_window *g) { os_error *error; wimp_window_info info; - wimp_window_state state; - unsigned int flags; assert(g); @@ -992,8 +990,7 @@ static void gui_window_update_extent(struct gui_window *g) info.yscroll += scroll; } - /* only schedule a reformat if we've gained/lost scrollbars */ - flags = info.flags & (wimp_WINDOW_HSCROLL | wimp_WINDOW_VSCROLL); + /* Handle change of extents */ g->update_extent = true; ro_gui_window_open(PTR_WIMP_OPEN(&info)); } -- cgit v1.2.3