From 575076fac483fca12a179dd40e15183b49cb6c8f Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 31 Jul 2014 21:25:51 +0200 Subject: Add the useful UNUSED() macro to dbg.h --- src/dbg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dbg.h') diff --git a/src/dbg.h b/src/dbg.h index b6569ff..2f78c6e 100644 --- a/src/dbg.h +++ b/src/dbg.h @@ -44,4 +44,7 @@ } \ }) +/* A neat macro that silences unused parameter warnings compiler independant */ +#define UNUSED(x) (void)(x) + #endif -- cgit v1.2.3-70-g09d2