mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Avoid compiler warnings when we do not have real blocks
This commit is contained in:
parent
915aac49b3
commit
b8f1fc4129
4 changed files with 7 additions and 4 deletions
|
@ -153,7 +153,10 @@ static NSMutableDictionary *__presenterIdDict = nil;
|
|||
|
||||
while((obj = [en nextObject]) != nil)
|
||||
{
|
||||
NSBlockOperation *op = [NSBlockOperation blockOperationWithBlock: accessor];
|
||||
NSBlockOperation *op;
|
||||
|
||||
op = [NSBlockOperation
|
||||
blockOperationWithBlock: (GSBlockOperationBlock)accessor];
|
||||
[queue addOperation: op];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue