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
Notes: sideshowbarker 2024-07-17 23:08:47 +09:00
10 changed files with 116 additions and 116 deletions

View file

@ -390,7 +390,7 @@ void HTMLScriptElement::prepare_script()
// 3. Remove the first element from this list of scripts that will execute in order
// as soon as possible.
m_preparation_time_document->scripts_to_execute_as_soon_as_possible().take_first();
(void)m_preparation_time_document->scripts_to_execute_as_soon_as_possible().take_first();
// 4. If this list of scripts that will execute in order as soon as possible is still
// not empty and the first entry has already been marked as ready, then jump back