diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-12-02 12:49:32 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-05 15:31:03 +0100 |
commit | 16e5f24e645271b564147bb32acec8d057c418da (patch) | |
tree | f2d01af745d69e6f443a38b1a2387c32ade36d91 /Meta/Lagom | |
parent | f3d8f80e9cca9b18362e8a727cf2bdedeb1fe0f8 (diff) | |
download | serenity-16e5f24e645271b564147bb32acec8d057c418da.zip |
Fuzzers: Cast unused smart-pointer return values to void
Diffstat (limited to 'Meta/Lagom')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzGemini.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzMarkdown.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzShell.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzGemini.cpp b/Meta/Lagom/Fuzzers/FuzzGemini.cpp index 09585ee083..0b7ad874df 100644 --- a/Meta/Lagom/Fuzzers/FuzzGemini.cpp +++ b/Meta/Lagom/Fuzzers/FuzzGemini.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto gemini = StringView(static_cast<const unsigned char*>(data), size); - Gemini::Document::parse(gemini, {}); + (void)Gemini::Document::parse(gemini, {}); return 0; } diff --git a/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp b/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp index c76d091d9a..9e1f0c6f4a 100644 --- a/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp +++ b/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto markdown = StringView(static_cast<const unsigned char*>(data), size); - Markdown::Document::parse(markdown); + (void)Markdown::Document::parse(markdown); return 0; } diff --git a/Meta/Lagom/Fuzzers/FuzzShell.cpp b/Meta/Lagom/Fuzzers/FuzzShell.cpp index cf1a2538c2..24b1bbcc6c 100644 --- a/Meta/Lagom/Fuzzers/FuzzShell.cpp +++ b/Meta/Lagom/Fuzzers/FuzzShell.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto source = StringView(static_cast<const unsigned char*>(data), size); Shell::Parser parser(source); - parser.parse(); + (void)parser.parse(); return 0; } |