mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:27:42 +00:00
LibWeb: Explicitly ignore [[nodiscard]] values returned from TRY(), pt 2
This commit is contained in:
parent
70b1f18e58
commit
701d437205
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ DOM::ExceptionOr<void> HTMLOptionsCollection::add(HTMLOptionOrOptGroupElement el
|
||||||
DOM::Node* parent = reference ? reference->parent() : root().ptr();
|
DOM::Node* parent = reference ? reference->parent() : root().ptr();
|
||||||
|
|
||||||
// 6. Pre-insert element into parent node before reference.
|
// 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 {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue