Skip to content

Commit

Permalink
Remove unused variable factor
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Ruffenach committed Feb 16, 2014
1 parent a5e3792 commit 8237af7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CRToast/CRToast.m
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ - (CGPoint)inCollisionPoint2 {
- (CGPoint)outCollisionPoint1 {
CGFloat x;
CGFloat y;
CGFloat factor = self.presentationType == CRToastPresentationTypeCover ?: 2;
switch (self.outAnimationDirection) {
case CRToastAnimationDirectionTop:
x = CGRectGetWidth(self.notificationViewAnimationFrame1);
Expand All @@ -485,7 +484,6 @@ - (CGPoint)outCollisionPoint1 {
- (CGPoint)outCollisionPoint2 {
CGFloat x;
CGFloat y;
CGFloat factor = self.presentationType == CRToastPresentationTypeCover ?: 2;
switch (self.outAnimationDirection) {
case CRToastAnimationDirectionTop:
x = 0;
Expand Down

0 comments on commit 8237af7

Please sign in to comment.