mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove compiler warnings from generated mako templates.
This commit is contained in:
parent
dae6ad409d
commit
c14eede06b
1 changed files with 1 additions and 1 deletions
|
@ -1655,7 +1655,7 @@ fn cascade_with_cached_declarations(applicable_declarations: &[MatchedProperty],
|
||||||
% for style_struct in STYLE_STRUCTS:
|
% for style_struct in STYLE_STRUCTS:
|
||||||
% for property in style_struct.longhands:
|
% for property in style_struct.longhands:
|
||||||
% if property.derived_from is None:
|
% if property.derived_from is None:
|
||||||
${property.camel_case}Declaration(ref declared_value) => {
|
${property.camel_case}Declaration(ref ${'_' if not style_struct.inherited else ''}declared_value) => {
|
||||||
% if style_struct.inherited:
|
% if style_struct.inherited:
|
||||||
if seen.get_${property.ident}() {
|
if seen.get_${property.ident}() {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue