summaryrefslogtreecommitdiff
path: root/src/treebuilder/in_foreign_content.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-07 16:55:13 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-07 16:55:13 +0000
commit303838617cba2f914b80937d73e38e972c4bb319 (patch)
treeb7d27f341b4b31c47f67d08a279721307766c319 /src/treebuilder/in_foreign_content.c
parentfb3d1d20eb1ed755a9335899030e6c09459e0041 (diff)
downloadlibhubbub-303838617cba2f914b80937d73e38e972c4bb319.tar.gz
libhubbub-303838617cba2f914b80937d73e38e972c4bb319.tar.bz2
Fix build failures. Quite how these were missed before, I don't know.
svn path=/trunk/hubbub/; revision=5277
Diffstat (limited to 'src/treebuilder/in_foreign_content.c')
-rw-r--r--src/treebuilder/in_foreign_content.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/treebuilder/in_foreign_content.c b/src/treebuilder/in_foreign_content.c
index d5c3574..4441433 100644
--- a/src/treebuilder/in_foreign_content.c
+++ b/src/treebuilder/in_foreign_content.c
@@ -142,6 +142,8 @@ static const case_changes svg_tagnames[] = {
void adjust_svg_attributes(hubbub_treebuilder *treebuilder,
hubbub_tag *tag)
{
+ UNUSED(treebuilder);
+
for (size_t i = 0; i < tag->n_attributes; i++) {
hubbub_attribute *attr = &tag->attributes[i];
@@ -171,6 +173,8 @@ void adjust_svg_tagname(hubbub_treebuilder *treebuilder,
const uint8_t *name = tag->name.ptr;
size_t len = tag->name.len;
+ UNUSED(treebuilder);
+
for (size_t i = 0; i < N_ELEMENTS(svg_tagnames); i++) {
if (hubbub_string_match(name, len,
(uint8_t *)svg_tagnames[i].attr,
@@ -194,6 +198,8 @@ void adjust_svg_tagname(hubbub_treebuilder *treebuilder,
void adjust_foreign_attributes(hubbub_treebuilder *treebuilder,
hubbub_tag *tag)
{
+ UNUSED(treebuilder);
+
for (size_t i = 0; i < tag->n_attributes; i++) {
hubbub_attribute *attr = &tag->attributes[i];
const uint8_t *name = attr->name.ptr;