Adding __unused to block paramters

This commit is contained in:
Mattt Thompson 2013-04-06 20:09:23 +02:00
parent 7207f2f19f
commit 48398eb0ac

View file

@ -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];