summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-14 20:53:27 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-16 17:49:42 +0200
commitf0fa51773abaa946ddcc987c1cf93539f48f7b4f (patch)
treecdd721614f18caca80eb00df2f902ce447012df9 /Meta/Lagom/Fuzzers
parentfbdc3b0ee22493cd35c205a4f974c755928b905b (diff)
downloadserenity-f0fa51773abaa946ddcc987c1cf93539f48f7b4f.zip
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.
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzHttpRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzHttpRequest.cpp b/Meta/Lagom/Fuzzers/FuzzHttpRequest.cpp
index 3abab3ed26..e0e95fa39e 100644
--- a/Meta/Lagom/Fuzzers/FuzzHttpRequest.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzHttpRequest.cpp
@@ -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;