mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
Userland: Make IPC handlers return void if they don't have any outputs
This commit is contained in:
parent
7cf2839a26
commit
889359b6f9
Notes:
sideshowbarker
2024-07-18 18:47:39 +09:00
Author: https://github.com/gunnarbeutner
Commit: 889359b6f9
Pull-request: https://github.com/SerenityOS/serenity/pull/6805
Reviewed-by: https://github.com/alimpfard
30 changed files with 180 additions and 225 deletions
|
@ -83,13 +83,11 @@ void RequestClient::handle(const Messages::RequestClient::HeadersBecameAvailable
|
|||
}
|
||||
}
|
||||
|
||||
Messages::RequestClient::CertificateRequestedResponse RequestClient::handle(const Messages::RequestClient::CertificateRequested& message)
|
||||
void RequestClient::handle(const Messages::RequestClient::CertificateRequested& message)
|
||||
{
|
||||
if (auto request = const_cast<Request*>(m_requests.get(message.request_id()).value_or(nullptr))) {
|
||||
request->did_request_certificates({});
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue