summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-19 16:59:04 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-19 16:59:04 +0100
commitfa765296f9c769170608a017c186796ebbc42e21 (patch)
treef1248e85765c8a855d489178ccf418b156e8684a
parent345ea141d0410cf5dbde888659edfbefd838ce02 (diff)
downloadlibdom-fa765296f9c769170608a017c186796ebbc42e21.tar.gz
libdom-fa765296f9c769170608a017c186796ebbc42e21.tar.bz2
Cleanup: Remove two UNUSED()s which are not true
-rw-r--r--bindings/hubbub/parser.c2
-rw-r--r--src/core/node.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c
index a4a9a2e..4a90511 100644
--- a/bindings/hubbub/parser.c
+++ b/bindings/hubbub/parser.c
@@ -459,8 +459,6 @@ static hubbub_error has_children(void *parser, void *node, bool *result)
dom_hubbub_parser *dom_parser = (dom_hubbub_parser *) parser;
dom_exception err;
- UNUSED(parser);
-
err = dom_node_has_child_nodes((struct dom_node *) node, result);
if (err != DOM_NO_ERR) {
dom_parser->msg(DOM_MSG_CRITICAL, dom_parser->mctx,
diff --git a/src/core/node.c b/src/core/node.c
index 628c7c6..9ddac0c 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -1666,8 +1666,6 @@ dom_exception _dom_node_get_feature(dom_node_internal *node,
{
bool has;
- UNUSED(node);
-
dom_implementation_has_feature(dom_string_data(feature),
dom_string_data(version), &has);