summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Element.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-02 12:54:34 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commit7196570f9bd038abd281341be26b0b7d02ff011b (patch)
tree75c5a1105c0132efd548fe3624e1af788f528c5f /Userland/Libraries/LibWeb/DOM/Element.cpp
parent31ea222f971a8c88be0243b0ff96850efcf16fc2 (diff)
downloadserenity-7196570f9bd038abd281341be26b0b7d02ff011b.zip
LibWeb: Cast unused smart-pointer return values to void
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Element.cpp')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Element.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.cpp b/Userland/Libraries/LibWeb/DOM/Element.cpp
index af80164c7c..f421cde0f0 100644
--- a/Userland/Libraries/LibWeb/DOM/Element.cpp
+++ b/Userland/Libraries/LibWeb/DOM/Element.cpp
@@ -229,7 +229,7 @@ void Element::recompute_style()
return;
// We need a new layout tree here!
Layout::TreeBuilder tree_builder;
- tree_builder.build(*this);
+ (void)tree_builder.build(*this);
return;
}