mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
Games: Cast unused smart-pointer return values to void
This commit is contained in:
parent
d95e50643e
commit
0e2fa09f52
6 changed files with 11 additions and 11 deletions
|
@ -60,7 +60,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->resize(315, 336);
|
||||
|
||||
auto main_widget = TRY(window->try_set_main_widget<GUI::Widget>());
|
||||
TRY(main_widget->try_set_layout<GUI::VerticalBoxLayout>());
|
||||
(void)TRY(main_widget->try_set_layout<GUI::VerticalBoxLayout>());
|
||||
main_widget->set_fill_with_background_color(true);
|
||||
|
||||
Game game { board_size, target_tile, evil_ai };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue