From 1a63b6f3d733aeffc93d64060fdbcbad957f7d2e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 6 Feb 2016 19:56:22 +0000 Subject: make unused variable macro more portable --- src/utils/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/utils.h') diff --git a/src/utils/utils.h b/src/utils/utils.h index 7f4e1a6..f1ce2e2 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 #ifndef N_ELEMENTS -- cgit v1.2.3