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:
parent
5a7650e54a
commit
1f8b453d58
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue