• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Clang analysis: Debug variables "never read."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clang analysis: Debug variables "never read."


  • Subject: Re: Clang analysis: Debug variables "never read."
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 2 Oct 2009 11:32:01 -0700

__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.

The project I tried it in uses LLVM-GCC, if that matters.

_______________________________________________
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


  • Follow-Ups:
    • Re: Clang analysis: Debug variables "never read."
      • From: Fritz Anderson <email@hidden>
References: 
 >Clang analysis: Debug variables "never read." (From: Fritz Anderson <email@hidden>)
 >Re: Clang analysis: Debug variables "never read." (From: Quincey Morris <email@hidden>)
 >Re: Clang analysis: Debug variables "never read." (From: Rick Mann <email@hidden>)
 >Re: Clang analysis: Debug variables "never read." (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Doxygen generated DocSets and Quick Help
  • Next by Date: Any way to get 16-bit string literals?
  • Previous by thread: Re: Clang analysis: Debug variables "never read."
  • Next by thread: Re: Clang analysis: Debug variables "never read."
  • Index(es):
    • Date
    • Thread