summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibProtocol/RequestClient.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-10-10 15:50:28 +0100
committerAndreas Kling <kling@serenityos.org>2022-10-11 21:52:13 +0200
commitf06a7f40bfcb1d43847a9e467ad695a7f89e36ce (patch)
treeb0a7ca34abf546304f592a17472ce5028609f143 /Userland/Libraries/LibProtocol/RequestClient.cpp
parentee72a11ca9af081db77ea9dfdf256186a3573ca5 (diff)
downloadserenity-f06a7f40bfcb1d43847a9e467ad695a7f89e36ce.zip
LibProtocol: Remove redundant return statement
Diffstat (limited to 'Userland/Libraries/LibProtocol/RequestClient.cpp')
-rw-r--r--Userland/Libraries/LibProtocol/RequestClient.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibProtocol/RequestClient.cpp b/Userland/Libraries/LibProtocol/RequestClient.cpp
index 8087b1dd5f..e9b22c4e8e 100644
--- a/Userland/Libraries/LibProtocol/RequestClient.cpp
+++ b/Userland/Libraries/LibProtocol/RequestClient.cpp
@@ -40,7 +40,6 @@ RefPtr<Request> RequestClient::start_request(String const& method, URL const& ur
request->set_request_fd({}, response_fd);
m_requests.set(request_id, request);
return request;
- return nullptr;
}
bool RequestClient::stop_request(Badge<Request>, Request& request)