diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-12-02 12:53:33 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-05 15:31:03 +0100 |
commit | 0e2fa09f52fd48b56eb54a6a8a2203815e426c91 (patch) | |
tree | 2df734763e9d9e6c67e7889b9a60cd480ad9cfc9 /Userland/Games/2048/main.cpp | |
parent | d95e50643e676ea3c2fbd09198a6a770ccaab83c (diff) | |
download | serenity-0e2fa09f52fd48b56eb54a6a8a2203815e426c91.zip |
Games: Cast unused smart-pointer return values to void
Diffstat (limited to 'Userland/Games/2048/main.cpp')
-rw-r--r-- | Userland/Games/2048/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index 5c6c482b27..8cc3570cab 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -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 }; |