mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue