mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
LibWeb: Explicitly ignore [[nodiscard]] values returned from TRY(), pt 2
This commit is contained in:
@@ -50,7 +50,7 @@ DOM::ExceptionOr<void> HTMLOptionsCollection::add(HTMLOptionOrOptGroupElement el
|
||||
DOM::Node* parent = reference ? reference->parent() : root().ptr();
|
||||
|
||||
// 6. Pre-insert element into parent node before reference.
|
||||
TRY(parent->pre_insert(resolved_element, reference));
|
||||
(void)TRY(parent->pre_insert(resolved_element, reference));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user