From 6503757698f54d4846159e3cf3be6c336a6c6f03 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 26 May 2014 11:40:58 +0100 Subject: [PATCH] Scope reduce a variable. --- riscos/gui/throbber.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscos/gui/throbber.c b/riscos/gui/throbber.c index 05860a923..5e2c87678 100644 --- a/riscos/gui/throbber.c +++ b/riscos/gui/throbber.c @@ -285,12 +285,12 @@ bool ro_gui_throbber_icon_update(struct throbber *throbber) bool ro_gui_throbber_icon_resize(struct throbber *throbber) { - os_error *error; if (throbber->window == NULL) return false; if (throbber->icon != -1) { + os_error *error; error = xwimp_resize_icon(throbber->window, throbber->icon, throbber->extent.x0, throbber->extent.y0, throbber->extent.x1, throbber->extent.y1);