summaryrefslogtreecommitdiff
path: root/src/webidl-ast.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 23:34:00 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-06 23:34:00 +0000
commit199aff8e6d0414a4bceedc502954b8e9cfe9ec18 (patch)
tree0e37bb340c41ee73576ee16fa4269404fa61228e /src/webidl-ast.c
parent66e9aa8d66aae27098693554d26100417606164b (diff)
downloadnsgenbind-199aff8e6d0414a4bceedc502954b8e9cfe9ec18.tar.gz
nsgenbind-199aff8e6d0414a4bceedc502954b8e9cfe9ec18.tar.bz2
Correctly annotate unused variables with a macro
Diffstat (limited to 'src/webidl-ast.c')
-rw-r--r--src/webidl-ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webidl-ast.c b/src/webidl-ast.c
index 253a3ba..26851c3 100644
--- a/src/webidl-ast.c
+++ b/src/webidl-ast.c
@@ -173,7 +173,7 @@ int webidl_cmp_node_type(struct webidl_node *node, void *ctx)
static int webidl_enumerate_node(struct webidl_node *node, void *ctx)
{
- node = node;
+ UNUSED(node);
(*((int *)ctx))++;
return 0;
}