aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-07-07 00:50:17 -0600
committerbors-servo <metajack+bors@gmail.com>2015-07-07 00:50:17 -0600
commit8b9f7d7764611ab0e6c81fe884f68fd274441c3d (patch)
tree360d65e3bb361434bb8d4e67d0551ccbbd8250f0
parent1618a9e73d662159ed36f35bca6ea36fa0e58d90 (diff)
parenta666d5faed02d9ee90ca16e648a1ec0b813bc8c2 (diff)
downloadservo-8b9f7d7764611ab0e6c81fe884f68fd274441c3d.tar.gz
servo-8b9f7d7764611ab0e6c81fe884f68fd274441c3d.zip
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 -->
-rw-r--r--components/style/properties.mako.rs16
1 files 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,