mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Fuzzers: Cast unused smart-pointer return values to void
This commit is contained in:
parent
f3d8f80e9c
commit
16e5f24e64
Notes:
sideshowbarker
2024-07-17 23:09:09 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/16e5f24e645 Pull-request: https://github.com/SerenityOS/serenity/pull/11151
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue