summaryrefslogtreecommitdiff
path: root/Userland/Applications/MouseSettings
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-03 09:53:24 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commit3ca2aee054af681b50323b71ae513f5e56f5068b (patch)
tree9c6328e6c442920a4e727a24b02294ac6e6216e2 /Userland/Applications/MouseSettings
parent7e05ccaa70c22e8655a4ce9a4d2600df884a0473 (diff)
downloadserenity-3ca2aee054af681b50323b71ae513f5e56f5068b.zip
Applications: Cast unused smart-pointer TRY return values to void
Diffstat (limited to 'Userland/Applications/MouseSettings')
-rw-r--r--Userland/Applications/MouseSettings/main.cpp4
1 files changed, 2 insertions, 2 deletions
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<int> 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<MouseWidget>("Mouse"));
- TRY(window->add_tab<ThemeWidget>("Cursor Theme"));
+ (void)TRY(window->add_tab<MouseWidget>("Mouse"));
+ (void)TRY(window->add_tab<ThemeWidget>("Cursor Theme"));
window->set_icon(app_icon.bitmap_for_size(16));
window->show();