On Fri, Apr 18, 2008 at 12:47 AM, Don Arnel <[EMAIL PROTECTED]> wrote:
> switch (1) { > default: > } > (x)(error: label at end of compound statement) You need a statement to execute for the default case. The code you have written is equivalent to: - (void)TestFunction { if (1 == 1) ; else } Hamish _______________________________________________ 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 [EMAIL PROTECTED]