diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-02 07:58:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-02 07:58:40 +0000 |
commit | 4ababfe2ca0eb0cc924b750f52d884f91e3a232f (patch) | |
tree | a2ccb135e231250bdce430c06c25e9642aea900a /encoder_base.c | |
parent | Adding upstream version 1.13. (diff) | |
download | clzip-4ababfe2ca0eb0cc924b750f52d884f91e3a232f.tar.xz clzip-4ababfe2ca0eb0cc924b750f52d884f91e3a232f.zip |
Adding upstream version 1.14~rc1.upstream/1.14_rc1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 ); } |