From 84fcf14d9c97f279302c36d312971eab991ccf22 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 6 Feb 2016 20:03:48 +0000 Subject: make unused variable macro more portable --- docs/Doxyfile | 2 +- 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 -- cgit v1.2.3