summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-07 10:44:29 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-07 10:44:29 (GMT)
commit5997ce5c5b767745b8ecc3508941f8b4d072dcc9 (patch)
tree505f009a50d654ca619f077a613c34770fce0739
parent199aff8e6d0414a4bceedc502954b8e9cfe9ec18 (diff)
downloadnsgenbind-5997ce5c5b767745b8ecc3508941f8b4d072dcc9.tar.gz
nsgenbind-5997ce5c5b767745b8ecc3508941f8b4d072dcc9.tar.bz2
use unsued variable macro to remove warning
-rw-r--r--src/duk-libdom-generated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/duk-libdom-generated.c b/src/duk-libdom-generated.c
index 9305dcf..95f1833 100644
--- a/src/duk-libdom-generated.c
+++ b/src/duk-libdom-generated.c
@@ -33,7 +33,7 @@ output_generated_attribute_user_getter(FILE* outf,
struct ir_entry *interfacee,
struct ir_attribute_entry *atributee)
{
- interfacee = interfacee;
+ UNUSED(interfacee);
if ((atributee->typev[0].name != NULL) &&
strcmp(atributee->typev[0].name, "EventHandler") == 0) {
@@ -208,7 +208,7 @@ output_generated_attribute_user_setter(FILE* outf,
struct ir_entry *interfacee,
struct ir_attribute_entry *atributee)
{
- interfacee = interfacee;
+ UNUSED(interfacee);
if ((atributee->typev[0].name != NULL) &&
strcmp(atributee->typev[0].name, "EventHandler") == 0) {