Re: Techniques to suppress "unused member variable" Clang warnings?
Re: Techniques to suppress "unused member variable" Clang warnings?
- Subject: Re: Techniques to suppress "unused member variable" Clang warnings?
- From: "Sean McBride" <email@hidden>
- Date: Thu, 3 Feb 2011 17:55:27 -0500
- Organization: Rogue Research Inc.
On Thu, 3 Feb 2011 15:46:36 -0700, James Bucanek said:
> "Instance variable 'someVariable' in class 'SomeClass' is
>never used by the
> methods in its @implementation (although it may be used by
>category methods)"
>
>And that's exactly the case. I have numerous instance variables
>which are only used by categories.
Just stick:
(void)someVariable;
somewhere.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden