From a666d5faed02d9ee90ca16e648a1ec0b813bc8c2 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 7 Jul 2015 14:34:25 +0200 Subject: [PATCH] Silence unused variable warnings in properties.rs. --- components/style/properties.mako.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/style/properties.mako.rs b/components/style/properties.mako.rs index 6b778808903..29bccc4c28b 100644 --- a/components/style/properties.mako.rs +++ b/components/style/properties.mako.rs @@ -440,12 +440,12 @@ pub mod longhands { } fn cascade_property_custom(computed_value: &computed_value::T, - declaration: &PropertyDeclaration, + _declaration: &PropertyDeclaration, style: &mut ComputedValues, - inherited_style: &ComputedValues, + _inherited_style: &ComputedValues, context: &computed::Context, - seen: &mut PropertyBitField, - cacheable: &mut bool) { + _seen: &mut PropertyBitField, + _cacheable: &mut bool) { Arc::make_unique(&mut style.box_)._servo_display_for_hypothetical_box = longhands::_servo_display_for_hypothetical_box::derive_from_display( *computed_value, @@ -2081,12 +2081,12 @@ pub mod longhands { } fn cascade_property_custom(computed_value: &computed_value::T, - declaration: &PropertyDeclaration, + _declaration: &PropertyDeclaration, style: &mut ComputedValues, - inherited_style: &ComputedValues, + _inherited_style: &ComputedValues, context: &computed::Context, - seen: &mut PropertyBitField, - cacheable: &mut bool) { + _seen: &mut PropertyBitField, + _cacheable: &mut bool) { Arc::make_unique(&mut style.inheritedtext)._servo_text_decorations_in_effect = longhands::_servo_text_decorations_in_effect::derive_from_text_decoration( *computed_value,