GCC 4.6 related common package rebuild failures (was Re: mass rebuild status)
jreiser at bitwagon.com
Wed Feb 9 17:21:32 UTC 2011
> In some cases (often from
> macro expansion) you just want to keep such unused variables
> around. You can in that case just cast them to void,
> or add __attribute__((__unused__)) to them.
Some code employs a macro:
#define UNUSED(a) (void)(a)
It is portable and easy to use, provides documentation, facilitates maintenance.
More information about the devel