From e7f9959ad96c51afdd6b5e74e2285f67b1bda228 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 7 Jul 2016 12:28:53 +0200 Subject: [PATCH] Fix a build warning in animation.rs. --- components/style/animation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/animation.rs b/components/style/animation.rs index 1f0cbcaefde..9d8b88f0c1f 100644 --- a/components/style/animation.rs +++ b/components/style/animation.rs @@ -498,7 +498,7 @@ where Impl: SelectorImplExt, debug!("update_style_for_animation: entering"); debug_assert!(!animation.is_expired()); match *animation { - Animation::Transition(_, start_time, ref frame, expired) => { + Animation::Transition(_, start_time, ref frame, _) => { debug!("update_style_for_animation: transition found"); let now = time::precise_time_s(); let mut new_style = (*style).clone();