Mangle unused parameter names also on non-GCC platforms. This should help in situations where a coder starts using the previously

unused tagged parameter after all, reminding the coder to remove the tag and check further.
This commit is contained in:
Nathan Letwory 2010-10-18 20:32:11 +00:00
parent bf09c851a9
commit d5f160d1e8

@ -49,7 +49,7 @@
#ifdef __GNUC__
# define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
#else
# define UNUSED(x) x
# define UNUSED(x) UNUSED_ ## x
#endif
/* these values need to be hardcoded in structs, dna does not recognize defines */