Re: Weird build error
Re: Weird build error
- Subject: Re: Weird build error
- From: "Kyle Sluder" <email@hidden>
- Date: Thu, 17 Apr 2008 19:54:39 -0400
GCC is alerting you to the fact that the switch at the end of the
statement is unnecessary. If you really want to do something for all
cases, use default. Otherwise just omit it. Using the empty
statement (; by itself) will fool GCC, but an empty default case is
useless.
--Kyle Sluder
_______________________________________________
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