summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-06 20:03:48 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-06 20:03:48 +0000
commit84fcf14d9c97f279302c36d312971eab991ccf22 (patch)
treeb0101af369035d2b23dfe35cd0692658cc9e4781 /src/utils
parentd4b2c5ca526b7a4574aeca48236cd410efd74b74 (diff)
downloadlibcss-84fcf14d9c97f279302c36d312971eab991ccf22.tar.gz
libcss-84fcf14d9c97f279302c36d312971eab991ccf22.tar.bz2
make unused variable macro more portable
Diffstat (limited to 'src/utils')
-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 c1f8d80..854273a 100644
--- a/src/utils/utils.h
+++ b/src/utils/utils.h
@@ -27,7 +27,7 @@
#endif
#ifndef UNUSED
-#define UNUSED(x) ((x)=(x))
+#define UNUSED(x) ((void)(x))
#endif
#ifndef N_ELEMENTS