mirror of https://git.tukaani.org/xz.git
liblzma: Silence warnings in --enable-small build.
This commit is contained in:
parent
38edf47323
commit
a4557bad96
|
@ -853,7 +853,9 @@ slow:
|
|||
// that EOPM might be used
|
||||
// (it's not allowed in
|
||||
// LZMA2).
|
||||
#ifndef HAVE_SMALL
|
||||
eopm:
|
||||
#endif
|
||||
if (!eopm_is_valid) {
|
||||
ret = LZMA_DATA_ERROR;
|
||||
goto out;
|
||||
|
|
|
@ -98,6 +98,7 @@ rc_read_init(lzma_range_decoder *rc, const uint8_t *restrict in,
|
|||
= (rc_in_end - rc_in_ptr) <= (fast_mode_in_required) \
|
||||
? rc_in_ptr \
|
||||
: rc_in_end - (fast_mode_in_required); \
|
||||
(void)rc_in_fast_end; /* Silence a warning with HAVE_SMALL. */ \
|
||||
uint32_t rc_bound
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue