diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-30 23:06:30 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-30 23:06:30 +0100 |
commit | 259a02a72a9ffec44a5216cbe0ce1506d05d5b93 (patch) | |
tree | 2ee906a211e6fd7705acb36a0e1e61e8dd52f1c1 /riscos | |
parent | f313635e2158a32de7cf558146015a05c1de27bc (diff) | |
download | netsurf-259a02a72a9ffec44a5216cbe0ce1506d05d5b93.tar.gz netsurf-259a02a72a9ffec44a5216cbe0ce1506d05d5b93.tar.bz2 |
Scope reduce some variables.
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/theme_install.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |