diff options
Diffstat (limited to 'linux/lib/xz/xz_dec_stream.c')
-rw-r--r-- | linux/lib/xz/xz_dec_stream.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/linux/lib/xz/xz_dec_stream.c b/linux/lib/xz/xz_dec_stream.c index 6e9f708..69c7c3b 100644 --- a/linux/lib/xz/xz_dec_stream.c +++ b/linux/lib/xz/xz_dec_stream.c @@ -740,14 +740,8 @@ void XZ_FUNC xz_dec_reset(struct xz_dec *s) s->allow_buf_error = false; s->pos = 0; s->crc32 = 0; - - s->block.count = 0; - memzero(&s->block.hash, sizeof(s->block.hash)); - - s->index.sequence = SEQ_INDEX_COUNT; - s->index.size = 0; - memzero(&s->index.hash, sizeof(s->index.hash)); - + memzero(&s->block, sizeof(s->block)); + memzero(&s->index, sizeof(s->index)); s->temp.pos = 0; s->temp.size = STREAM_HEADER_SIZE; } |