diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-02 07:58:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-02 07:58:50 +0000 |
commit | dbb626a17cceeca84102d7d7eebf7218d4471375 (patch) | |
tree | bf76e46a6dba453e188a4be02c053d6b0a462b99 /encoder_base.c | |
parent | Releasing debian version 1.13-6. (diff) | |
download | clzip-dbb626a17cceeca84102d7d7eebf7218d4471375.tar.xz clzip-dbb626a17cceeca84102d7d7eebf7218d4471375.zip |
Merging upstream version 1.14~rc1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'encoder_base.c')
-rw-r--r-- | encoder_base.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/encoder_base.c b/encoder_base.c index 91c4623..d0d53e2 100644 --- a/encoder_base.c +++ b/encoder_base.c @@ -1,5 +1,5 @@ /* Clzip - LZMA lossless data compressor - Copyright (C) 2010-2022 Antonio Diaz Diaz. + Copyright (C) 2010-2023 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -173,9 +173,7 @@ void LZeb_full_flush( struct LZ_encoder_base * const eb, const State state ) Lt_set_data_crc( trailer, LZeb_crc( eb ) ); Lt_set_data_size( trailer, Mb_data_position( &eb->mb ) ); Lt_set_member_size( trailer, Re_member_position( &eb->renc ) + Lt_size ); - int i; - for( i = 0; i < Lt_size; ++i ) - Re_put_byte( &eb->renc, trailer[i] ); + int i; for( i = 0; i < Lt_size; ++i ) Re_put_byte( &eb->renc, trailer[i] ); Re_flush_data( &eb->renc ); } |