Re: Clang analysis: Debug variables "never read."
Re: Clang analysis: Debug variables "never read."
- Subject: Re: Clang analysis: Debug variables "never read."
- From: Rick Mann <email@hidden>
- Date: Fri, 2 Oct 2009 10:47:40 -0700
Oh, I like __unused better. I wonder if clang supports it.
On Oct 2, 2009, at 10:14:56, Quincey Morris wrote:
On Oct 2, 2009, at 09:57, Fritz Anderson wrote:
Okay, in principle, I don't know that _all_ warnings flag
_intentional_ non-uses of a variable. So what's the best way for me
to mark up the intentional uses so they don't clutter the results?
There's always "__unused", assuming it's recognized by the analyzer:
int __unused errorCode = [self doSomethingComplicated: localStuff];
_______________________________________________
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
_______________________________________________
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