summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 20:12:02 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-06 20:12:02 (GMT)
commita2f91f80ef79c492d7a4e79f23739c5b3a640ab1 (patch)
tree0743e0ce2935dde9d54f1b8eeb743ffd6f2971dd
parent74c58cee4d69304264277932618b2414e286e1e8 (diff)
downloadlibdom-a2f91f80ef79c492d7a4e79f23739c5b3a640ab1.tar.gz
libdom-a2f91f80ef79c492d7a4e79f23739c5b3a640ab1.tar.bz2
make unused variable macro more portable in expat binding
-rw-r--r--bindings/xml/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/xml/utils.h b/bindings/xml/utils.h
index 75ca536..a27f8e7 100644
--- a/bindings/xml/utils.h
+++ b/bindings/xml/utils.h
@@ -22,7 +22,7 @@
#endif
#ifndef UNUSED
-#define UNUSED(x) ((x)=(x))
+#define UNUSED(x) ((void)(x))
#endif
#endif