> 
> Should I use a temporary variable to check instead of the variable with the
> pointer? Or are these warnings okay to ignore?

With regard to warnings I would recommend the following:

http://boredzo.org/blog/archives/2009-11-07/warnings
http://developer.apple.com/tools/xcode/compilercodewarnings.html

It takes a bit of time to comprehend all the subtleties involved but the 
payback is worth it.
Personally, I turn them on early and leave them on (this was learnt the hard 
way).

The static analyser is also supremely useful.

Regards

Jonathan Mitchell

Developer
http://www.mugginsoft.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to