liblzma: Silence warnings in --enable-small build.

This commit is contained in:
Lasse Collin 2024-02-14 19:21:45 +02:00
parent 38edf47323
commit a4557bad96
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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