Merge pull request #2700 from Ms2ger/mut-block

Remove a dead assignment from set_width_constraint_solutions.
This commit is contained in:
Josh Matthews 2014-06-22 17:38:11 +02:00
commit 71b3135739

View file

@ -1815,7 +1815,7 @@ pub trait WidthAndMarginsComputer {
fn set_width_constraint_solutions(&self,
block: &mut BlockFlow,
solution: WidthConstraintSolution) {
let mut width = Au(0);
let width;
{
let fragment = block.fragment();
fragment.margin.left = solution.margin_left;