Re: Pass-by value… warning
Re: Pass-by value… warning
- Subject: Re: Pass-by value… warning
- From: Greg Guerin <email@hidden>
- Date: Wed, 7 Jul 2010 08:27:42 -0700
vincent habchi wrote:
That's true, the compiler cannot guarantee that dim > 1, which is
always the case actually.
I am going to put an extra text at the beginning of the method,
like: "if (dim < 1) return;" and see what happens.
If you need to guarantee dim > 1, then your if statement should be:
if (dim <= 1) return
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden