aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-07-31 21:25:51 +0200
committerTharre <tharre3@gmail.com>2014-07-31 21:25:51 +0200
commit575076fac483fca12a179dd40e15183b49cb6c8f (patch)
treeab9f4253d83282822d137d5383139f525df16832
parent83789a68173054b66a00e4d2e33308f1432333a2 (diff)
downloadredo-575076fac483fca12a179dd40e15183b49cb6c8f.tar.gz
redo-575076fac483fca12a179dd40e15183b49cb6c8f.tar.xz
redo-575076fac483fca12a179dd40e15183b49cb6c8f.zip
Add the useful UNUSED() macro to dbg.h
-rw-r--r--src/dbg.h3
1 files changed, 3 insertions, 0 deletions
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