use destroy instead of assigning nil, avoids warnings and make smore sense anyway

This commit is contained in:
Riccardo Mottola 2023-09-13 00:40:58 +02:00
parent a3117e5598
commit 88a0e1e390
4 changed files with 6 additions and 6 deletions

View file

@ -363,7 +363,7 @@ static NSMutableDictionary *units = nil;
}
else
{
ASSIGN(_markers, nil);
DESTROY(_markers);
}
[self setNeedsDisplay: YES];
}