Re: Clang analysis: Debug variables "never read."
Re: Clang analysis: Debug variables "never read."
- Subject: Re: Clang analysis: Debug variables "never read."
- From: Fritz Anderson <email@hidden>
- Date: Fri, 2 Oct 2009 18:59:01 -0500
On 2 Oct 2009, at 1:32 PM, Quincey Morris wrote:
__unused seems to work fine with the analyzer. With this code:
int testme;
testme = 0;
the analyzer said "never read", but with this:
int __unused testme;
testme = 0;
it had nothing to say.
This is good news, and my thanks to you, Rick, and Sean for the help.
I'm away from Xcode at this moment... does anyone know off the top of
the head whether testme will show up as zero in the debugger in an
unoptimized build?
— F
_______________________________________________
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