• 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: C local auto-initialized?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C local auto-initialized?


  • Subject: Re: C local auto-initialized?
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 20 Sep 2007 16:20:59 -0500

On Sep 20, 2007, at 4:02 PM, Fritz Anderson wrote:

Is there a way to demonstrate the "correct" (garbage-propagating) behavior without blatantly placing the garbage variable at the head of the block?

... and I find that in the case of my function, the first variable, a sum, is fortuitously set to 0, ruining my chance of going that route anyway.


_And_, I find that moving the to-be-garbage variable to the start of the function is no guarantee against the self-clearing behavior I saw.

	— 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


References: 
 >C local auto-initialized? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: C local auto-initialized?
  • Next by Date: Re: C local auto-initialized?
  • Previous by thread: Re: C local auto-initialized?
  • Next by thread: Re: C local auto-initialized?
  • Index(es):
    • Date
    • Thread