Adding __unused to block paramters
This commit is contained in:
parent
7207f2f19f
commit
48398eb0ac
@ -605,7 +605,7 @@ static void AFNetworkReachabilityReleaseCallback(const void *info) {
|
||||
originalCompletionBlock();
|
||||
}
|
||||
|
||||
NSInteger numberOfFinishedOperations = [[operations indexesOfObjectsPassingTest:^BOOL(id op, NSUInteger idx, BOOL *stop) {
|
||||
NSInteger numberOfFinishedOperations = [[operations indexesOfObjectsPassingTest:^BOOL(id op, NSUInteger __unused idx, BOOL __unused *stop) {
|
||||
return [op isCancelled];
|
||||
}] count];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user