From fa45b905bf404f3531406602294ee8d6a6896547 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 6 Oct 2021 20:06:17 +0200 Subject: [PATCH] LibWeb: Remove unused local in FormattingContext::layout_inside() --- Userland/Libraries/LibWeb/Layout/FormattingContext.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp index a22eb9e848..e0188565ec 100644 --- a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp @@ -76,8 +76,6 @@ bool FormattingContext::creates_block_formatting_context(const Box& box) void FormattingContext::layout_inside(Box& child_box, LayoutMode layout_mode) { - auto context_display = context_box().computed_values().display(); - if (is(child_box)) { SVGFormattingContext context(child_box, this); context.run(child_box, layout_mode);