summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 19:56:22 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-06 19:56:22 (GMT)
commit1a63b6f3d733aeffc93d64060fdbcbad957f7d2e (patch)
tree0a29be7d170a5e3f180f570f2f4eca6fc33a41ed
parentbbcc6d9787048516f06ab88634afba585c2ff37c (diff)
downloadlibparserutils-1a63b6f3d733aeffc93d64060fdbcbad957f7d2e.tar.gz
libparserutils-1a63b6f3d733aeffc93d64060fdbcbad957f7d2e.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 7f4e1a6..f1ce2e2 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
#ifndef N_ELEMENTS