mirror of
https://github.com/intel/isa-l.git
synced 2024-12-13 09:52:56 +01:00
igzip: fix build warning
Fix the following build issue by initializing look_back_dist to 0. igzip/igzip_inflate.c: In function ‘decode_huffman_code_block_stateless_base’: igzip/igzip_inflate.c:1727:36: warning: ‘look_back_dist’ may be used uninitialized [-Wmaybe-uninitialized] Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
acbe0deecf
commit
e2acfbfe78
@ -1607,7 +1607,7 @@ int decode_huffman_code_block_stateless_base(struct inflate_state *state, uint8_
|
||||
uint16_t next_lit;
|
||||
uint8_t next_dist;
|
||||
uint32_t repeat_length;
|
||||
uint32_t look_back_dist;
|
||||
uint32_t look_back_dist = 0;
|
||||
uint64_t read_in_tmp;
|
||||
int32_t read_in_length_tmp;
|
||||
uint8_t *next_in_tmp, *next_out_tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user