summaryrefslogtreecommitdiff
path: root/src/nsgenbind-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/nsgenbind-ast.c
parent66e9aa8d66aae27098693554d26100417606164b (diff)
downloadnsgenbind-199aff8e6d0414a4bceedc502954b8e9cfe9ec18.tar.gz
nsgenbind-199aff8e6d0414a4bceedc502954b8e9cfe9ec18.tar.bz2
Correctly annotate unused variables with a macro
Diffstat (limited to 'src/nsgenbind-ast.c')
-rw-r--r--src/nsgenbind-ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsgenbind-ast.c b/src/nsgenbind-ast.c
index 9be8bc7..49732a0 100644
--- a/src/nsgenbind-ast.c
+++ b/src/nsgenbind-ast.c
@@ -160,7 +160,7 @@ genbind_node_foreach_type(struct genbind_node *node,
static int genbind_enumerate_node(struct genbind_node *node, void *ctx)
{
- node = node;
+ UNUSED(node);
(*((int *)ctx))++;
return 0;
}