mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:04:57 +00:00
LibCompress/Deflate: Remove three useless FIXMEs
This commit is contained in:
parent
830e6472e6
commit
a3d48319fe
1 changed files with 0 additions and 6 deletions
|
@ -51,8 +51,6 @@ CanonicalCode const& CanonicalCode::fixed_distance_codes()
|
|||
|
||||
ErrorOr<CanonicalCode> CanonicalCode::from_bytes(ReadonlyBytes bytes)
|
||||
{
|
||||
// FIXME: I can't quite follow the algorithm here, but it seems to work.
|
||||
|
||||
CanonicalCode code;
|
||||
|
||||
auto non_zero_symbols = 0;
|
||||
|
@ -381,8 +379,6 @@ ErrorOr<ByteBuffer> DeflateDecompressor::decompress_all(ReadonlyBytes bytes)
|
|||
|
||||
ErrorOr<u32> DeflateDecompressor::decode_length(u32 symbol)
|
||||
{
|
||||
// FIXME: I can't quite follow the algorithm here, but it seems to work.
|
||||
|
||||
if (symbol <= 264)
|
||||
return symbol - 254;
|
||||
|
||||
|
@ -399,8 +395,6 @@ ErrorOr<u32> DeflateDecompressor::decode_length(u32 symbol)
|
|||
|
||||
ErrorOr<u32> DeflateDecompressor::decode_distance(u32 symbol)
|
||||
{
|
||||
// FIXME: I can't quite follow the algorithm here, but it seems to work.
|
||||
|
||||
if (symbol <= 3)
|
||||
return symbol + 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue