summaryrefslogtreecommitdiff
path: root/Userland/Demos/ModelGallery
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/ModelGallery
parent7196570f9bd038abd281341be26b0b7d02ff011b (diff)
downloadserenity-7e05ccaa70c22e8655a4ce9a4d2600df884a0473.zip
Demos: Cast unused smart-pointer return values to void
Diffstat (limited to 'Userland/Demos/ModelGallery')
-rw-r--r--Userland/Demos/ModelGallery/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/ModelGallery/main.cpp b/Userland/Demos/ModelGallery/main.cpp
index 903ef2ffe8..15d46fd6b3 100644
--- a/Userland/Demos/ModelGallery/main.cpp
+++ b/Userland/Demos/ModelGallery/main.cpp
@@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
window->set_title("Model Gallery");
window->set_icon(app_icon.bitmap_for_size(16));
window->resize(430, 480);
- TRY(window->try_set_main_widget<GalleryWidget>());
+ (void)TRY(window->try_set_main_widget<GalleryWidget>());
window->show();
return app->exec();