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 10:58:42 -07:00
committed by James Ide
parent 5e8b95c815
commit dafe9fc24e
+1 -1
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];