From 95a69ac1f7f4233602513d3bb019fdd83439cc06 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 6 Feb 2016 20:02:11 +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 9ec8176..bc554e1 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 #endif -- cgit v1.2.3