From 3ca2aee054af681b50323b71ae513f5e56f5068b Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 3 Dec 2021 09:53:24 +0000 Subject: Applications: Cast unused smart-pointer TRY return values to void --- Userland/Applications/MouseSettings/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Applications/MouseSettings') diff --git a/Userland/Applications/MouseSettings/main.cpp b/Userland/Applications/MouseSettings/main.cpp index afbb5b5e1d..8d8d91c308 100644 --- a/Userland/Applications/MouseSettings/main.cpp +++ b/Userland/Applications/MouseSettings/main.cpp @@ -26,8 +26,8 @@ ErrorOr serenity_main(Main::Arguments arguments) auto app_icon = GUI::Icon::default_icon("app-mouse"); auto window = TRY(GUI::SettingsWindow::create("Mouse Settings", GUI::SettingsWindow::ShowDefaultsButton::Yes)); - TRY(window->add_tab("Mouse")); - TRY(window->add_tab("Cursor Theme")); + (void)TRY(window->add_tab("Mouse")); + (void)TRY(window->add_tab("Cursor Theme")); window->set_icon(app_icon.bitmap_for_size(16)); window->show(); -- cgit v1.2.3