summaryrefslogtreecommitdiff
path: root/src/treebuilder/in_head_noscript.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-07-26 21:20:28 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-07-26 21:20:28 +0000
commit60c01918f34e99e5f9428fbc96cbcf62257c82fa (patch)
tree1c32acd13385f7d1a495654dcb2614e043bb4253 /src/treebuilder/in_head_noscript.c
parent9c2fbb29cc1d77e1d0600baf2d0f8bd9503ad419 (diff)
downloadlibhubbub-60c01918f34e99e5f9428fbc96cbcf62257c82fa.tar.gz
libhubbub-60c01918f34e99e5f9428fbc96cbcf62257c82fa.tar.bz2
Fix build with GCC 4.6
svn path=/trunk/hubbub/; revision=12628
Diffstat (limited to 'src/treebuilder/in_head_noscript.c')
-rw-r--r--src/treebuilder/in_head_noscript.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/treebuilder/in_head_noscript.c b/src/treebuilder/in_head_noscript.c
index cf5061c..d13ca30 100644
--- a/src/treebuilder/in_head_noscript.c
+++ b/src/treebuilder/in_head_noscript.c
@@ -82,13 +82,11 @@ hubbub_error handle_in_head_noscript(hubbub_treebuilder *treebuilder,
}
if (handled || err == HUBBUB_REPROCESS) {
- hubbub_error e;
hubbub_ns ns;
element_type otype;
void *node;
- e = element_stack_pop(treebuilder, &ns, &otype, &node);
- assert(e == HUBBUB_OK);
+ element_stack_pop(treebuilder, &ns, &otype, &node);
treebuilder->tree_handler->unref_node(
treebuilder->tree_handler->ctx,