summaryrefslogtreecommitdiff
path: root/Userland/Demos/LibGfxScaleDemo
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-03 09:47:48 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commit7e05ccaa70c22e8655a4ce9a4d2600df884a0473 (patch)
tree9f318d5310820e558d1a6913d15783a6abad2f33 /Userland/Demos/LibGfxScaleDemo
parent7196570f9bd038abd281341be26b0b7d02ff011b (diff)
downloadserenity-7e05ccaa70c22e8655a4ce9a4d2600df884a0473.zip
Demos: Cast unused smart-pointer return values to void
Diffstat (limited to 'Userland/Demos/LibGfxScaleDemo')
-rw-r--r--Userland/Demos/LibGfxScaleDemo/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/LibGfxScaleDemo/main.cpp b/Userland/Demos/LibGfxScaleDemo/main.cpp
index 671901d881..da2136bc10 100644
--- a/Userland/Demos/LibGfxScaleDemo/main.cpp
+++ b/Userland/Demos/LibGfxScaleDemo/main.cpp
@@ -122,7 +122,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-libgfx-demo");
window->set_icon(app_icon.bitmap_for_size(16));
- TRY(window->try_set_main_widget<Canvas>());
+ (void)TRY(window->try_set_main_widget<Canvas>());
window->show();
return app->exec();