Auto merge of #6571 - Ms2ger:warnings, r=SimonSapin

Silence unused variable warnings in properties.rs.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6571)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-07 00:50:17 -06:00
commit 8b9f7d7764

View file

@ -440,12 +440,12 @@ pub mod longhands {
} }
fn cascade_property_custom(computed_value: &computed_value::T, fn cascade_property_custom(computed_value: &computed_value::T,
declaration: &PropertyDeclaration, _declaration: &PropertyDeclaration,
style: &mut ComputedValues, style: &mut ComputedValues,
inherited_style: &ComputedValues, _inherited_style: &ComputedValues,
context: &computed::Context, context: &computed::Context,
seen: &mut PropertyBitField, _seen: &mut PropertyBitField,
cacheable: &mut bool) { _cacheable: &mut bool) {
Arc::make_unique(&mut style.box_)._servo_display_for_hypothetical_box = Arc::make_unique(&mut style.box_)._servo_display_for_hypothetical_box =
longhands::_servo_display_for_hypothetical_box::derive_from_display( longhands::_servo_display_for_hypothetical_box::derive_from_display(
*computed_value, *computed_value,
@ -2081,12 +2081,12 @@ pub mod longhands {
} }
fn cascade_property_custom(computed_value: &computed_value::T, fn cascade_property_custom(computed_value: &computed_value::T,
declaration: &PropertyDeclaration, _declaration: &PropertyDeclaration,
style: &mut ComputedValues, style: &mut ComputedValues,
inherited_style: &ComputedValues, _inherited_style: &ComputedValues,
context: &computed::Context, context: &computed::Context,
seen: &mut PropertyBitField, _seen: &mut PropertyBitField,
cacheable: &mut bool) { _cacheable: &mut bool) {
Arc::make_unique(&mut style.inheritedtext)._servo_text_decorations_in_effect = Arc::make_unique(&mut style.inheritedtext)._servo_text_decorations_in_effect =
longhands::_servo_text_decorations_in_effect::derive_from_text_decoration( longhands::_servo_text_decorations_in_effect::derive_from_text_decoration(
*computed_value, *computed_value,