summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-27 14:44:34 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2009-05-27 14:44:34 (GMT)
commit60fbc28f0cdbb2aa008ef5bfd40dccd9e54b5ada (patch)
treeac6dc2ee7cea2fac28be8dd39e9e2b09247314da
parent15e72d831d9af99a5a7a593f39863511bd612d4b (diff)
downloadlibhubbub-60fbc28f0cdbb2aa008ef5bfd40dccd9e54b5ada.tar.gz
libhubbub-60fbc28f0cdbb2aa008ef5bfd40dccd9e54b5ada.tar.bz2
Fix use of uninitialised variable caused by braindead variable naming.
svn path=/trunk/hubbub/; revision=7583
-rw-r--r--src/treebuilder/in_body.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/treebuilder/in_body.c b/src/treebuilder/in_body.c
index 9fa8382..f29910d 100644
--- a/src/treebuilder/in_body.c
+++ b/src/treebuilder/in_body.c
@@ -1514,7 +1514,7 @@ hubbub_error process_0form_in_body(hubbub_treebuilder *treebuilder)
} else {
hubbub_ns ns;
element_type otype;
- void *node;
+ void *onode;
close_implied_end_tags(treebuilder, UNKNOWN);
@@ -1525,12 +1525,12 @@ hubbub_error process_0form_in_body(hubbub_treebuilder *treebuilder)
}
err = element_stack_remove(treebuilder, idx,
- &ns, &otype, &node);
+ &ns, &otype, &onode);
assert(err == HUBBUB_OK);
treebuilder->tree_handler->unref_node(
treebuilder->tree_handler->ctx,
- node);
+ onode);
}
return HUBBUB_OK;