From 97887c2a520a879567a879ec29ba7c80aeed2453 Mon Sep 17 00:00:00 2001 From: Ryan Gomba Date: Mon, 28 Nov 2016 14:00:50 -0800 Subject: [PATCH] Remove unused var in NativeAnimatedNodesManager Summary: Should have been removed in https://github.com/facebook/react-native/commit/6f5433febe2c6dab5cc7b5799db7b95fc9992a11#commitcomment-19793695. Simple enough fix. cc/ janicduplessis Closes https://github.com/facebook/react-native/pull/11178 Differential Revision: D4239876 fbshipit-source-id: f96e220ffdab042bded27ff16d2395741c70b61f --- .../com/facebook/react/animated/NativeAnimatedNodesManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java b/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java index c59b60cc79e315..95d90549b5f118 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java @@ -480,7 +480,6 @@ public void runUpdates(long frameTimeNanos) { // Cleanup finished animations. Iterate over the array of animations and override ones that has // finished, then resize `mActiveAnimations`. if (hasFinishedAnimations) { - int dest = 0; for (int i = mActiveAnimations.size() - 1; i >= 0; i--) { AnimationDriver animation = mActiveAnimations.valueAt(i); if (animation.mHasFinished) {