Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pebble8888 committed Mar 8, 2014
1 parent fbfd14f commit 4ab8d3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ISRefreshControl/ISGumView.m
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ - (void)shrink
{
self.shrinking = YES;

NSMutableArray *paths = [@[] mutableCopy];
NSMutableArray *values = [@[] mutableCopy];

CGFloat distance = self.distance < ISMaxDistance ? self.distance : ISMaxDistance;
Expand All @@ -165,13 +164,10 @@ - (void)shrink
}

UIBezierPath *path = [self pathForMainRadius:mainRadius subRadius:subRadius distance:distance];
[paths addObject:path];
[values addObject:(id)path.CGPath];

distance -= delta;
if (distance < 0.f) {
UIBezierPath *path = [self pathForMainRadius:.1f subRadius:.1f distance:.1f];
[paths addObject:path];
break;
}
}
Expand Down

0 comments on commit 4ab8d3e

Please sign in to comment.