diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-02-06 20:03:48 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-02-06 20:03:48 +0000 |
commit | 84fcf14d9c97f279302c36d312971eab991ccf22 (patch) | |
tree | b0101af369035d2b23dfe35cd0692658cc9e4781 | |
parent | d4b2c5ca526b7a4574aeca48236cd410efd74b74 (diff) | |
download | libcss-84fcf14d9c97f279302c36d312971eab991ccf22.tar.gz libcss-84fcf14d9c97f279302c36d312971eab991ccf22.tar.bz2 |
make unused variable macro more portable
-rw-r--r-- | docs/Doxyfile | 2 | ||||
-rw-r--r-- | src/utils/utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/Doxyfile b/docs/Doxyfile index c03c261..6cc39b8 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -355,7 +355,7 @@ LOOKUP_CACHE_SIZE = 0 # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES -EXTRACT_ALL = NO +EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. 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 |