From 0d9490fa67d98dc4de5ea27dfca1aea686ece734 Mon Sep 17 00:00:00 2001 From: makee Date: Tue, 6 Sep 2016 02:31:07 -0700 Subject: [PATCH] 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 --- React/Modules/RCTTiming.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Modules/RCTTiming.m b/React/Modules/RCTTiming.m index d2ab050d7..7028d3708 100644 --- a/React/Modules/RCTTiming.m +++ b/React/Modules/RCTTiming.m @@ -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 *timersToCall = [NSMutableArray new];