From 55d2e1126a8084ae8baa0431efba69ba50c1cf76 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 9 Jul 2014 19:49:43 +0100 Subject: [PATCH] Remove redundant code. --- riscos/window.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/riscos/window.c b/riscos/window.c index 338430a4d..519285032 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -996,15 +996,6 @@ static void gui_window_update_extent(struct gui_window *g) flags = info.flags & (wimp_WINDOW_HSCROLL | wimp_WINDOW_VSCROLL); g->update_extent = true; ro_gui_window_open(PTR_WIMP_OPEN(&info)); - - state.w = g->window; - error = xwimp_get_window_state(&state); - if (error) { - LOG(("xwimp_get_window_state: 0x%x: %s", - error->errnum, error->errmess)); - warn_user("WimpError", error->errmess); - return; - } }