mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
[qfcc] Tweak ivar test to check old bug
It turns out that assigning nil to an ivar struct does not work (should, of course).
This commit is contained in:
parent
48a256efaa
commit
d418be31e6
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ typedef struct Point Point;
|
|||
@implementation Object
|
||||
-(Point) origin
|
||||
{
|
||||
origin = nil;
|
||||
return origin;
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue