mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
LibWasm: Remove unused ParseError
variant
This commit is contained in:
parent
9800ef6047
commit
41dc58f702
Notes:
github-actions[bot]
2024-07-28 11:03:31 +00:00
Author: https://github.com/dzfrias Commit: https://github.com/LadybirdBrowser/ladybird/commit/41dc58f7023 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/875 Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 0 additions and 4 deletions
|
@ -1310,8 +1310,6 @@ ByteString parse_error_to_byte_string(ParseError error)
|
|||
return "A parsed tag did not make sense in context";
|
||||
case ParseError::InvalidType:
|
||||
return "A parsed type did not make sense in context";
|
||||
case ParseError::NotImplemented:
|
||||
return "The parser encountered an unimplemented feature";
|
||||
case ParseError::HugeAllocationRequested:
|
||||
return "Parsing caused an attempt to allocate a very big chunk of memory, likely malformed data";
|
||||
case ParseError::OutOfMemory:
|
||||
|
|
|
@ -56,8 +56,6 @@ enum class ParseError {
|
|||
OutOfMemory,
|
||||
SectionSizeMismatch,
|
||||
InvalidUtf8,
|
||||
// FIXME: This should not exist!
|
||||
NotImplemented,
|
||||
};
|
||||
|
||||
ByteString parse_error_to_byte_string(ParseError);
|
||||
|
|
Loading…
Reference in a new issue