On Oct 14, 2010, at 1:25 PM, Tito Ciuro wrote:

>    return [[[self alloc]initWithObjects:someObjects]autorelease]; 
> <<<<<<<<<<<< warning occurs here


-initWithObjects expects a list with a nil terminator, which you have not 
provided. If this "works" it is because you are getting very lucky with what is 
already on the stack.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to