Add some return statments for now.

At the moment, qfcc has no way of knowing that a function will never
return. This is needed until the time qfcc can know that.
This commit is contained in:
Bill Currie 2011-02-10 14:48:06 +09:00
parent 5a7650e54a
commit 1f8b453d58
1 changed files with 2 additions and 0 deletions

View File

@ -38,11 +38,13 @@
- (id) retain - (id) retain
{ {
[self error: "Don't send -retain to an autorelease pool."]; [self error: "Don't send -retain to an autorelease pool."];
return self;
} }
- (id) autorelease - (id) autorelease
{ {
[self error: "Don't send -autorelease to an autorelease pool."]; [self error: "Don't send -autorelease to an autorelease pool."];
return self;
} }
- (void) dealloc - (void) dealloc