1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

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

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;