From 54b86e303ba6a8188fc5f731a79ca609aa58d565 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Sun, 4 Aug 2019 23:26:41 -0400 Subject: [PATCH] Fix issue with earlier versions of clang --- Source/NSOperation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSOperation.m b/Source/NSOperation.m index 5b9ce899e..c8dcbfafd 100644 --- a/Source/NSOperation.m +++ b/Source/NSOperation.m @@ -579,7 +579,7 @@ static NSArray *empty = nil; { NSEnumerator *en = [[self executionBlocks] objectEnumerator]; GSBlockOperationBlock theBlock; - while((theBlock = [en nextObject]) != nil) + while((theBlock = [en nextObject]) != NULL) { CALL_BLOCK_NO_ARGS(theBlock); }