diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 14:39:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 14:39:17 +0000 |
commit | 18cc9814761e1b87c81168fd495f54d27176bf71 (patch) | |
tree | aa2fbba67797c895a4d00c0dd9848abf8aa78dc4 /encoder_base.c | |
parent | Releasing debian version 1.13-6. (diff) | |
download | lzlib-18cc9814761e1b87c81168fd495f54d27176bf71.tar.xz lzlib-18cc9814761e1b87c81168fd495f54d27176bf71.zip |
Merging upstream version 1.14.
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 4535352..047f372 100644 --- a/encoder_base.c +++ b/encoder_base.c @@ -1,5 +1,5 @@ /* Lzlib - Compression library for the lzip format - Copyright (C) 2009-2022 Antonio Diaz Diaz. + Copyright (C) 2009-2024 Antonio Diaz Diaz. This library is free software. Redistribution and use in source and binary forms, with or without modification, are permitted provided @@ -140,9 +140,7 @@ static void LZeb_try_full_flush( struct LZ_encoder_base * const eb ) 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 ) - Cb_put_byte( &eb->renc.cb, trailer[i] ); + int i; for( i = 0; i < Lt_size; ++i ) Cb_put_byte( &eb->renc.cb, trailer[i] ); } |