mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +00:00
AK+Userland: Fix some compiler warnings and make variables const-ref
This fixes a few compiler warnings and makes some variables const-ref in preparation for the next commit which changes how ByteBuffer works.
This commit is contained in:
parent
fbdc3b0ee2
commit
f0fa51773a
7 changed files with 12 additions and 7 deletions
|
@ -14,7 +14,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
|||
if (!request_wrapper.has_value())
|
||||
return 1;
|
||||
|
||||
auto request = request_wrapper.value();
|
||||
auto& request = request_wrapper.value();
|
||||
VERIFY(request.method() != HTTP::HttpRequest::Method::Invalid);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue