summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 19:58:51 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-06 19:58:51 (GMT)
commitb76b1b4f2ea92af8966e8358f79764ec35fd7954 (patch)
tree06542591cc68e4ea684fdf71c12b21d19041020e
parentfb28965a39f89f22f800dbd17d7283ea34a98cd3 (diff)
downloadlibhubbub-b76b1b4f2ea92af8966e8358f79764ec35fd7954.tar.gz
libhubbub-b76b1b4f2ea92af8966e8358f79764ec35fd7954.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 d22a0eb..f2c977c 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
/* Useful for iterating over arrays */