mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +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:
parent
92f8514a85
commit
d2024f04bd
Notes:
sideshowbarker
2024-07-17 23:09:21 +09:00
Author: https://github.com/AtkinsSJ
Commit: d2024f04bd
Pull-request: https://github.com/SerenityOS/serenity/pull/11151
7 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@ ErrorOr<int> mode_server()
|
|||
TRY(Core::System::pledge("stdio unix recvfd rpath"));
|
||||
|
||||
auto socket = TRY(Core::LocalSocket::take_over_accepted_socket_from_system_server());
|
||||
IPC::new_client_connection<LanguageServers::Cpp::ClientConnection>(move(socket), 1);
|
||||
(void)IPC::new_client_connection<LanguageServers::Cpp::ClientConnection>(move(socket), 1);
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd rpath"));
|
||||
TRY(Core::System::unveil("/usr/include", "r"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue