mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
zstd.Decompress: Delete unused/impossible "end" state
This commit is contained in:
parent
60b0b21296
commit
353cf1f671
1 changed files with 0 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ const State = union(enum) {
|
|||
new_frame,
|
||||
in_frame: InFrame,
|
||||
skipping_frame: usize,
|
||||
end,
|
||||
|
||||
const InFrame = struct {
|
||||
frame: Frame,
|
||||
|
|
@ -203,7 +202,6 @@ fn stream(r: *Reader, w: *Writer, limit: Limit) Reader.StreamError!usize {
|
|||
if (remaining.* == 0) d.state = .new_frame;
|
||||
return 0;
|
||||
},
|
||||
.end => return error.EndOfStream,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue