mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
LibJS: Add missing (void) to handle [[nodiscard]] TRY() result
This commit is contained in:
parent
fdffdc43fa
commit
4eaa95769d
Notes:
sideshowbarker
2024-07-18 01:17:56 +09:00
Author: https://github.com/linusg
Commit: 4eaa95769d
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ ThrowCompletionOr<PlainMonthDay*> to_temporal_month_day(GlobalObject& global_obj
|
||||||
}
|
}
|
||||||
|
|
||||||
// 4. Perform ? ToTemporalOverflow(options).
|
// 4. Perform ? ToTemporalOverflow(options).
|
||||||
TRY(to_temporal_overflow(global_object, *options));
|
(void)TRY(to_temporal_overflow(global_object, *options));
|
||||||
|
|
||||||
// 5. Let string be ? ToString(item).
|
// 5. Let string be ? ToString(item).
|
||||||
auto string = TRY(item.to_string(global_object));
|
auto string = TRY(item.to_string(global_object));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue