Adding __unused to block paramters
This commit is contained in:
parent
7207f2f19f
commit
48398eb0ac
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ static void AFNetworkReachabilityReleaseCallback(const void *info) {
|
||||||
originalCompletionBlock();
|
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];
|
return [op isCancelled];
|
||||||
}] count];
|
}] count];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue