mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Demos: Cast unused smart-pointer return values to void
This commit is contained in:
parent
7196570f9b
commit
7e05ccaa70
6 changed files with 7 additions and 7 deletions
|
@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->resize(430, 480);
|
||||
window->set_title("Widget Gallery");
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
TRY(window->try_set_main_widget<GalleryWidget>());
|
||||
(void)TRY(window->try_set_main_widget<GalleryWidget>());
|
||||
window->show();
|
||||
|
||||
return app->exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue