Tidied to assign result of init to self

This commit is contained in:
Richard Frith-Macdonald 2023-01-25 11:40:50 +00:00
parent 10f86fed2d
commit d17ad36c53

View file

@ -989,8 +989,10 @@ static Class GSInlineArrayClass;
- (id) initWithArray: (GSArray*)anArray
{
[super initWithArray: anArray];
pos = array->_count;
if (nil != (self = [super initWithArray: anArray]))
{
pos = array->_count;
}
return self;
}