summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-05-30 23:06:30 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-05-30 23:06:30 +0100
commit259a02a72a9ffec44a5216cbe0ce1506d05d5b93 (patch)
tree2ee906a211e6fd7705acb36a0e1e61e8dd52f1c1
parentf313635e2158a32de7cf558146015a05c1de27bc (diff)
downloadnetsurf-259a02a72a9ffec44a5216cbe0ce1506d05d5b93.tar.gz
netsurf-259a02a72a9ffec44a5216cbe0ce1506d05d5b93.tar.bz2
Scope reduce some variables.
-rw-r--r--riscos/theme_install.c5
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;