unused

Previous Specifying Attributes of Types Next

When attached to a type (including a union or a struct), this attribute means that variables of that type are meant to appear possibly unused. GCC will not produce a warning for any variables of that type, even if the variable appears to do nothing.

The unused attribute can also be used for functions and variables.