diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-10-10 15:50:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-10-11 21:52:13 +0200 |
commit | f06a7f40bfcb1d43847a9e467ad695a7f89e36ce (patch) | |
tree | b0a7ca34abf546304f592a17472ce5028609f143 /Userland/Libraries | |
parent | ee72a11ca9af081db77ea9dfdf256186a3573ca5 (diff) | |
download | serenity-f06a7f40bfcb1d43847a9e467ad695a7f89e36ce.zip |
LibProtocol: Remove redundant return statement
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibProtocol/RequestClient.cpp | 1 |
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) |