Xcode unused variable

MacMowl

  • Posts: 65
Hi everyone,

I have several errors in Xcode. When I have a behavior with a block "kill self", it puts me "unused variable'_self" (Actor* __Self = mActor;).

Have I missed anything with the kill self function?

Jon

  • *
  • Posts: 17524
We need to see a screenshot of the behavior to get the context for this. Thanks!


malospam

  • *
  • Posts: 467
I always get several of those messages but thankfully it still allows me to run the app.
Visit Reddit's Stencyl page and contribute to spread the word about this amazing program!
http://www.reddit.com/r/stencyl

sparkyidr

  • Posts: 48
I have had these warning messages a few times too. (or similar).
It still builds fine (or seemingly fine)...and also, I have built it with the warnings...and then re-tested without making any changes, and have the warnings not appear.
Which seems a bit odd.