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 --- src/utils/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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