From b4ba1defd12103230998a721c1e521a1f51fce74 Mon Sep 17 00:00:00 2001 From: Alexey Khokhlov Date: Tue, 22 Apr 2014 15:20:34 +0400 Subject: [PATCH] *fix NSArray method: -(NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger, BOOL *stop))predicate; --- src/runtime/Classes/PBArray.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runtime/Classes/PBArray.m b/src/runtime/Classes/PBArray.m index 9369a64..82bf4de 100644 --- a/src/runtime/Classes/PBArray.m +++ b/src/runtime/Classes/PBArray.m @@ -318,7 +318,6 @@ - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop) -(NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger, BOOL *stop))predicate { if (!predicate) return NSNotFound; - BOOL stop = NO; __block BOOL bb; __block NSUInteger index; [self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {