• 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: Analyzer warning about garbage with double return values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Analyzer warning about garbage with double return values


  • Subject: Re: Analyzer warning about garbage with double return values
  • From: Jonas Maebe <email@hidden>
  • Date: Wed, 2 Sep 2009 10:45:01 +0200


On 02 Sep 2009, at 10:07, Markus Spoettl wrote:

I thought it was safe to message nil-objects, the return value would be 0 or the equivalent for the respective expression return type. Is this not the case for double return values?

See http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocObjectsClasses.html#/ /apple_ref/doc/uid/TP30001163-CH11-SW7 , in particular the last bullet in that list.



Jonas _______________________________________________ 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: Analyzer warning about garbage with double return values
      • From: Markus Spoettl <email@hidden>
    • Re: Analyzer warning about garbage with double return values
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Analyzer warning about garbage with double return values (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Analyzer warning about garbage with double return values
  • Next by Date: Re: Analyzer warning about garbage with double return values
  • Previous by thread: Re: Analyzer warning about garbage with double return values
  • Next by thread: Re: Analyzer warning about garbage with double return values
  • Index(es):
    • Date
    • Thread