From 259a02a72a9ffec44a5216cbe0ce1506d05d5b93 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 30 May 2014 23:06:30 +0100 Subject: Scope reduce some variables. --- riscos/theme_install.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'riscos') diff --git a/riscos/theme_install.c b/riscos/theme_install.c index 598b55d41..09e9bd456 100644 --- a/riscos/theme_install.c +++ b/riscos/theme_install.c @@ -84,15 +84,14 @@ void theme_install_start(hlcache_handle *c) nserror theme_install_callback(hlcache_handle *handle, const hlcache_event *event, void *pw) { - char buffer[256]; - int author_indent = 0; - switch (event->type) { case CONTENT_MSG_DONE: { const char *source_data; unsigned long source_size; + int author_indent = 0; + char buffer[256]; theme_install_content = handle; -- cgit v1.2.3