From 8237af790ee938ed66a78ffa1b0da19f3fa2e064 Mon Sep 17 00:00:00 2001 From: Collin Ruffenach Date: Sun, 16 Feb 2014 15:07:34 -0800 Subject: [PATCH] Remove unused variable factor --- CRToast/CRToast.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRToast/CRToast.m b/CRToast/CRToast.m index 0fd7d1d3..cb485345 100644 --- a/CRToast/CRToast.m +++ b/CRToast/CRToast.m @@ -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); @@ -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;