Fix nil to NULL

This commit is contained in:
rfm 2024-11-15 18:35:41 +00:00
parent 093ab72a47
commit d7c9bdbce7

View file

@ -295,7 +295,7 @@ handleExit()
[exitLock lock]; [exitLock lock];
for (l = exited; l != NULL; l = l->next) for (l = exited; l != NULL; l = l->next)
{ {
if (l->obj == anObject || (l->at != nil && *l->at == anObject)) if (l->obj == anObject || (l->at != NULL && *l->at == anObject))
{ {
[exitLock unlock]; [exitLock unlock];
[NSException raise: NSInvalidArgumentException [NSException raise: NSInvalidArgumentException