From 0e2fa09f52fd48b56eb54a6a8a2203815e426c91 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 2 Dec 2021 12:53:33 +0000 Subject: Games: Cast unused smart-pointer return values to void --- Userland/Games/2048/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Games/2048/main.cpp') 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 serenity_main(Main::Arguments arguments) window->resize(315, 336); auto main_widget = TRY(window->try_set_main_widget()); - TRY(main_widget->try_set_layout()); + (void)TRY(main_widget->try_set_layout()); main_widget->set_fill_with_background_color(true); Game game { board_size, target_tile, evil_ai }; -- cgit v1.2.3