mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Silence warnings in --enable-small build.
This commit is contained in:
parent
38edf47323
commit
a4557bad96
2 changed files with 3 additions and 0 deletions
|
@ -853,7 +853,9 @@ slow:
|
||||||
// that EOPM might be used
|
// that EOPM might be used
|
||||||
// (it's not allowed in
|
// (it's not allowed in
|
||||||
// LZMA2).
|
// LZMA2).
|
||||||
|
#ifndef HAVE_SMALL
|
||||||
eopm:
|
eopm:
|
||||||
|
#endif
|
||||||
if (!eopm_is_valid) {
|
if (!eopm_is_valid) {
|
||||||
ret = LZMA_DATA_ERROR;
|
ret = LZMA_DATA_ERROR;
|
||||||
goto out;
|
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_end - rc_in_ptr) <= (fast_mode_in_required) \
|
||||||
? rc_in_ptr \
|
? rc_in_ptr \
|
||||||
: rc_in_end - (fast_mode_in_required); \
|
: rc_in_end - (fast_mode_in_required); \
|
||||||
|
(void)rc_in_fast_end; /* Silence a warning with HAVE_SMALL. */ \
|
||||||
uint32_t rc_bound
|
uint32_t rc_bound
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue