From b76b1b4f2ea92af8966e8358f79764ec35fd7954 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 6 Feb 2016 19:58:51 +0000 Subject: make unused variable macro more portable --- src/utils/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3