diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-20 12:41:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-20 15:31:46 +0200 |
commit | ed7a2f21ff4ca7b453e0e93c4cde39aabd634ef1 (patch) | |
tree | 1c94e267544fea31ef5f18b4f17052e1e55570c0 /Userland/Libraries/LibTextCodec/Decoder.cpp | |
parent | 13f4890c38c9f7f7d6e936d56de550a36916eec2 (diff) | |
download | serenity-ed7a2f21ff4ca7b453e0e93c4cde39aabd634ef1.zip |
LibTextCodec: Remove unused is_standardized_encoding()
Diffstat (limited to 'Userland/Libraries/LibTextCodec/Decoder.cpp')
-rw-r--r-- | Userland/Libraries/LibTextCodec/Decoder.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibTextCodec/Decoder.cpp b/Userland/Libraries/LibTextCodec/Decoder.cpp index 4e83cc779a..cde353068a 100644 --- a/Userland/Libraries/LibTextCodec/Decoder.cpp +++ b/Userland/Libraries/LibTextCodec/Decoder.cpp @@ -192,12 +192,6 @@ Optional<String> get_standardized_encoding(const String& encoding) return {}; } -bool is_standardized_encoding(const String& encoding) -{ - auto standardized_encoding = get_standardized_encoding(encoding); - return standardized_encoding.has_value() && encoding.equals_ignoring_case(standardized_encoding.value()); -} - String UTF8Decoder::to_utf8(const StringView& input) { return input; |