mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
Userland: Cast unused BackgroundAction::construct() results to void
User code does not need to keep this alive, so casting to void is safe. But maybe a bit weird.
This commit is contained in:
committed by
Andreas Kling
parent
92f8514a85
commit
d2024f04bd
@@ -17,7 +17,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
||||
TRY(Core::System::pledge("stdio unix rpath recvfd"));
|
||||
|
||||
auto socket = TRY(Core::LocalSocket::take_over_accepted_socket_from_system_server());
|
||||
IPC::new_client_connection<LanguageServers::Shell::ClientConnection>(move(socket), 1);
|
||||
(void)IPC::new_client_connection<LanguageServers::Shell::ClientConnection>(move(socket), 1);
|
||||
TRY(Core::System::pledge("stdio rpath recvfd"));
|
||||
TRY(Core::System::unveil("/etc/passwd", "r"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user