Bug 1461285 followup - Remove a unused line to fix a warning. a=lizzard DEVEDITION_62_0b8_BUILD1 DEVEDITION_62_0b8_RELEASE FIREFOX_62_0b8_BUILD1 FIREFOX_62_0b8_RELEASE
authorXidorn Quan <me@upsuper.org>
Thu, 12 Jul 2018 14:23:00 +1000
changeset 819993 02069dab4f3cabe06bdf8f824031e1aa6aef7dfd
parent 819992 c45e817cdf36b38f6280d6fccf36cbf2713fbb32
child 819994 d9bd43316a95950dbe0d0e4f0951fa67faba5ba5
push id116707
push userbmo:jaws@mozilla.com
push dateWed, 18 Jul 2018 20:27:08 +0000
reviewerslizzard
bugs1461285
milestone62.0
Bug 1461285 followup - Remove a unused line to fix a warning. a=lizzard
servo/components/style/properties/properties.mako.rs
--- a/servo/components/style/properties/properties.mako.rs
+++ b/servo/components/style/properties/properties.mako.rs
@@ -2247,17 +2247,16 @@ impl<'a> Iterator for AllShorthandDeclar
                 Some(PropertyDeclaration::CSSWideKeyword(
                     WideKeywordDeclaration {
                         id: self.longhands.next()?,
                         keyword: *keyword
                     }
                 ))
             }
             AllShorthand::WithVariables(ref unparsed) => {
-                let id = self.longhands.next()?;
                 Some(PropertyDeclaration::WithVariables(
                     VariableDeclaration {
                         id: self.longhands.next()?,
                         value: unparsed.clone()
                     }
                 ))
             }
         }