r5277 jmb - in /trunk/hubbub/src/treebuilder: in_foreign_content.c initial.c treebuilder.c

netsurf at semichrome.net netsurf at semichrome.net
Sun Sep 7 17:55:13 BST 2008


Author: jmb
Date: Sun Sep  7 11:55:13 2008
New Revision: 5277

URL: http://source.netsurf-browser.org?rev=5277&view=rev
Log:
Fix build failures. Quite how these were missed before, I don't know.

Modified:
    trunk/hubbub/src/treebuilder/in_foreign_content.c
    trunk/hubbub/src/treebuilder/initial.c
    trunk/hubbub/src/treebuilder/treebuilder.c

Modified: trunk/hubbub/src/treebuilder/in_foreign_content.c
URL: http://source.netsurf-browser.org/trunk/hubbub/src/treebuilder/in_foreign_content.c?rev=5277&r1=5276&r2=5277&view=diff
==============================================================================
--- trunk/hubbub/src/treebuilder/in_foreign_content.c (original)
+++ trunk/hubbub/src/treebuilder/in_foreign_content.c Sun Sep  7 11:55:13 2008
@@ -142,6 +142,8 @@
 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 @@
 	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_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;

Modified: trunk/hubbub/src/treebuilder/initial.c
URL: http://source.netsurf-browser.org/trunk/hubbub/src/treebuilder/initial.c?rev=5277&r1=5276&r2=5277&view=diff
==============================================================================
--- trunk/hubbub/src/treebuilder/initial.c (original)
+++ trunk/hubbub/src/treebuilder/initial.c Sun Sep  7 11:55:13 2008
@@ -128,6 +128,8 @@
 	const uint8_t *system_id = cdoc->system_id.ptr;
 	size_t system_id_len = cdoc->system_id.len;
 
+	UNUSED(treebuilder);
+
 #define S(s)	(uint8_t *) s, sizeof s
 
 	/* Check the name is "HTML" (case-insensitively) */
@@ -182,6 +184,8 @@
 {
 	const uint8_t *public_id = cdoc->public_id.ptr;
 	size_t public_id_len = cdoc->public_id.len;
+
+	UNUSED(treebuilder);
 
 #define S(s)	(uint8_t *) s, sizeof s
 

Modified: trunk/hubbub/src/treebuilder/treebuilder.c
URL: http://source.netsurf-browser.org/trunk/hubbub/src/treebuilder/treebuilder.c?rev=5277&r1=5276&r2=5277&view=diff
==============================================================================
--- trunk/hubbub/src/treebuilder/treebuilder.c (original)
+++ trunk/hubbub/src/treebuilder/treebuilder.c Sun Sep  7 11:55:13 2008
@@ -961,6 +961,7 @@
 	const uint8_t *name = tag_name->ptr;
 	size_t len = tag_name->len;
 
+	UNUSED(treebuilder);
 
 	/** \todo optimise this */
 




More information about the netsurf-commits mailing list