summaryrefslogtreecommitdiff
path: root/Userland/Applications/MailSettings
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/MailSettings
parent7e05ccaa70c22e8655a4ce9a4d2600df884a0473 (diff)
downloadserenity-3ca2aee054af681b50323b71ae513f5e56f5068b.zip
Applications: Cast unused smart-pointer TRY return values to void
Diffstat (limited to 'Userland/Applications/MailSettings')
-rw-r--r--Userland/Applications/MailSettings/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/MailSettings/main.cpp b/Userland/Applications/MailSettings/main.cpp
index 43279c54de..66329e9deb 100644
--- a/Userland/Applications/MailSettings/main.cpp
+++ b/Userland/Applications/MailSettings/main.cpp
@@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-mail");
auto window = TRY(GUI::SettingsWindow::create("Mail Settings", GUI::SettingsWindow::ShowDefaultsButton::Yes));
- TRY(window->add_tab<MailSettingsWidget>("Mail"));
+ (void)TRY(window->add_tab<MailSettingsWidget>("Mail"));
window->set_icon(app_icon.bitmap_for_size(16));
window->show();