diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-17 20:15:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-19 17:15:47 +0100 |
commit | 2db168acc112e8f032d57f8225a8122c0e7f4207 (patch) | |
tree | add8e7858b1fe3861624a8392703d6172e4fe30c /Meta | |
parent | 3c5090e17257667514156900a552d875b46da27d (diff) | |
download | serenity-2db168acc112e8f032d57f8225a8122c0e7f4207.zip |
LibTextCodec+Everywhere: Port Decoders to new Strings
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzCyrillicDecoder.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzHebrewDecoder.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzLatin1Decoder.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzLatin2Decoder.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzUTF16BEDecoder.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzCyrillicDecoder.cpp b/Meta/Lagom/Fuzzers/FuzzCyrillicDecoder.cpp index 10e3c6e3e6..647dd54020 100644 --- a/Meta/Lagom/Fuzzers/FuzzCyrillicDecoder.cpp +++ b/Meta/Lagom/Fuzzers/FuzzCyrillicDecoder.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { auto decoder = TextCodec::decoder_for("windows-1251"sv); VERIFY(decoder.has_value()); - decoder->to_utf8({ data, size }); + (void)decoder->to_utf8({ data, size }); return 0; } diff --git a/Meta/Lagom/Fuzzers/FuzzHebrewDecoder.cpp b/Meta/Lagom/Fuzzers/FuzzHebrewDecoder.cpp index 866e3b1e61..cfe0873317 100644 --- a/Meta/Lagom/Fuzzers/FuzzHebrewDecoder.cpp +++ b/Meta/Lagom/Fuzzers/FuzzHebrewDecoder.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { auto decoder = TextCodec::decoder_for("windows-1255"sv); VERIFY(decoder.has_value()); - decoder->to_utf8({ data, size }); + (void)decoder->to_utf8({ data, size }); return 0; } diff --git a/Meta/Lagom/Fuzzers/FuzzLatin1Decoder.cpp b/Meta/Lagom/Fuzzers/FuzzLatin1Decoder.cpp index 3a3f03cd90..8a2b667995 100644 --- a/Meta/Lagom/Fuzzers/FuzzLatin1Decoder.cpp +++ b/Meta/Lagom/Fuzzers/FuzzLatin1Decoder.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { auto decoder = TextCodec::decoder_for("windows-1252"sv); VERIFY(decoder.has_value()); - decoder->to_utf8({ data, size }); + (void)decoder->to_utf8({ data, size }); return 0; } diff --git a/Meta/Lagom/Fuzzers/FuzzLatin2Decoder.cpp b/Meta/Lagom/Fuzzers/FuzzLatin2Decoder.cpp index 1d83a83920..3fb16d631e 100644 --- a/Meta/Lagom/Fuzzers/FuzzLatin2Decoder.cpp +++ b/Meta/Lagom/Fuzzers/FuzzLatin2Decoder.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { auto decoder = TextCodec::decoder_for("iso-8859-2"sv); VERIFY(decoder.has_value()); - decoder->to_utf8({ data, size }); + (void)decoder->to_utf8({ data, size }); return 0; } diff --git a/Meta/Lagom/Fuzzers/FuzzUTF16BEDecoder.cpp b/Meta/Lagom/Fuzzers/FuzzUTF16BEDecoder.cpp index 26b2205549..a24fb5e8e3 100644 --- a/Meta/Lagom/Fuzzers/FuzzUTF16BEDecoder.cpp +++ b/Meta/Lagom/Fuzzers/FuzzUTF16BEDecoder.cpp @@ -13,6 +13,6 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { auto decoder = TextCodec::decoder_for("utf-16be"sv); VERIFY(decoder.has_value()); - decoder->to_utf8({ data, size }); + (void)decoder->to_utf8({ data, size }); return 0; } |