LibWeb: Remove unused variable from compute_height method

This commit is contained in:
Andi Gallo 2023-08-13 04:11:17 +00:00 committed by Alexander Kalenik
parent 7192cf7487
commit 97ba1ff1f7
Notes: sideshowbarker 2024-07-17 08:37:36 +09:00

View File

@ -442,7 +442,6 @@ CSSPixels BlockFormattingContext::compute_table_box_width_inside_table_wrapper(B
void BlockFormattingContext::compute_height(Box const& box, AvailableSpace const& available_space)
{
auto const& computed_values = box.computed_values();
auto containing_block_height = CSS::Length::make_px(available_space.height.to_px_or_zero());
// Then work out what the height is, based on box type and CSS properties.
CSSPixels height = 0;