summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 20:02:11 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-06 20:02:11 (GMT)
commit95a69ac1f7f4233602513d3bb019fdd83439cc06 (patch)
treee360acedd517ff3dc07d4c59954d860d09476062
parent68c446328f2d874384b2d7ca6afb42b9d7fe4a17 (diff)
downloadlibdom-95a69ac1f7f4233602513d3bb019fdd83439cc06.tar.gz
libdom-95a69ac1f7f4233602513d3bb019fdd83439cc06.tar.bz2
make unused variable macro more portable
-rw-r--r--src/utils/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/utils.h b/src/utils/utils.h
index 9ec8176..bc554e1 100644
--- a/src/utils/utils.h
+++ b/src/utils/utils.h
@@ -22,7 +22,7 @@
#endif
#ifndef UNUSED
-#define UNUSED(x) ((x)=(x))
+#define UNUSED(x) ((void)(x))
#endif
#endif