Skip to content

Commit

Permalink
refactor(_DTXTimerTrampoline): Remove unused _timerDescription var
Browse files Browse the repository at this point in the history
  • Loading branch information
ball-hayden committed Apr 18, 2022
1 parent 6571ef0 commit 3dc80e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions DetoxSync/DetoxSync/Utils/_DTXTimerTrampoline.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ @implementation _DTXTimerTrampoline
NSTimer* _timer;
CFRunLoopTimerCallBack _callback;
CFRunLoopRef _runLoop;
NSString* _timerDescription;
NSTimeInterval _timeUntilFire;

//CADisplayLink
Expand Down Expand Up @@ -102,7 +101,6 @@ - (void)dealloc
- (void)setTimer:(NSTimer*)timer
{
_timer = timer;
_timerDescription = [[timer debugDescription] copy];
objc_setAssociatedObject(timer, __DTXTimerTrampolineKey, self, OBJC_ASSOCIATION_RETAIN);

#if DEBUG
Expand Down

0 comments on commit 3dc80e1

Please sign in to comment.