Suppressing warning
Suppressing warning
- Subject: Suppressing warning
- From: Jeff LaMarche <email@hidden>
- Date: Thu, 17 Apr 2008 16:50:07 -0400
When creating a synchronized accessor, like this (simple example):
- (NSString *)foo { @synchronized(foo) { return foo; } }
Is there a way to suppress the "control reaches end of non-void function" warning, but without disabling that warning in general, just for the specific instance? Is there a #pragma or something that will suppress it?
Thanks, Jeff |
_______________________________________________
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