1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 01:15:07 +00:00

LibWeb: Cast unused smart-pointer return values to void

This commit is contained in:
Sam Atkins 2021-12-02 12:54:34 +00:00 committed by Andreas Kling
parent 31ea222f97
commit 7196570f9b
10 changed files with 116 additions and 116 deletions

View file

@ -96,8 +96,8 @@ bool StackOfOpenElements::contains(const FlyString& tag_name) const
void StackOfOpenElements::pop_until_an_element_with_tag_name_has_been_popped(const FlyString& tag_name)
{
while (m_elements.last().local_name() != tag_name)
pop();
pop();
(void)pop();
(void)pop();
}
DOM::Element* StackOfOpenElements::topmost_special_node_below(const DOM::Element& formatting_element)