remove incorrect `__unused` modifier

Summary:
the `update` argument was used below
Closes https://github.com/facebook/react-native/pull/9753

Differential Revision: D3820510

fbshipit-source-id: 8cad707a9cd4887c7ee07fe960b1f918761e64c5
This commit is contained in:
makee 2016-09-06 02:31:07 -07:00 committed by Facebook Github Bot 0
parent 9304df3e3d
commit 0d9490fa67
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ RCT_EXPORT_MODULE()
return _sendIdleEvents || _timers.count > 0;
}
- (void)didUpdateFrame:(__unused RCTFrameUpdate *)update
- (void)didUpdateFrame:(RCTFrameUpdate *)update
{
NSDate *nextScheduledTarget = [NSDate distantFuture];
NSMutableArray<NSNumber *> *timersToCall = [NSMutableArray new];