Jeff Squyres, le Fri 08 Jan 2010 12:22:59 -0500, a écrit :
> On Jan 8, 2010, at 12:22 PM, Samuel Thibault wrote:
>
> >> How do you guys want to handle params that are *sometimes* unused?
> >
> > I'd just mark them unused.
>
> Is it harmful to mark them unused when they're actually used?
No.
`unused'
This attribute, attached to a function, means that the function is
meant to be possibly unused. GCC will not produce a warning for
this function.
Samuel
|