Re: Suppressing warning
Re: Suppressing warning
- Subject: Re: Suppressing warning
- From: "B.J. Buchalter" <email@hidden>
- Date: Thu, 17 Apr 2008 16:53:55 -0400
On Apr 17, 2008, at 4:50 PM, Jeff LaMarche wrote:
When creating a synchronized accessor, like this (simple example):
- (NSString *)foo
{
@synchronized(foo)
{
return foo;
}
}
You could put a
return NULL;
after the @synchronized
block. It should never be reached...
B.J. Buchalter
Metric Halo
http://www.mhlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden