Re: warning: unused parameter '_value'
Re: warning: unused parameter '_value'
- Subject: Re: warning: unused parameter '_value'
- From: "Michael Ash" <email@hidden>
- Date: Mon, 22 Dec 2008 08:50:36 -0500
On Mon, Dec 22, 2008 at 5:42 AM, Gerriet M. Denkmann
<email@hidden> wrote:
> When I use [GCC_WARN_UNUSED_PARAMETER, -Wunused-parameter]
>
> I get (in Release build, not in Development) for every @synthesize statement
> a warning:
> warning: unused parameter '_value'
> There is no "value" nor "_value" in the source to be found.
>
> What am I doing wrong?
Sounds like the only thing you're doing "wrong" is using that warning.
I would file a bug and then turn it back off. (I gave up on
-Wunused-parameter long ago; Cocoa apps have far too many legitimately
unused parameters to make it worthwhile. That said, this is no excuse
for the compiler generating such warnings in its own code!)
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden