aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/rangecoder/range_decoder.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-14 19:21:45 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-14 19:21:45 +0200
commita4557bad96361d93ea171ed859ac5a696fca824f (patch)
tree3aa2213f07ce0a8a02360aa0233eba88e8d0c064 /src/liblzma/rangecoder/range_decoder.h
parentBuild: Install COPYING.0BSD as part of docs. (diff)
downloadxz-a4557bad96361d93ea171ed859ac5a696fca824f.tar.xz
liblzma: Silence warnings in --enable-small build.
Diffstat (limited to '')
-rw-r--r--src/liblzma/rangecoder/range_decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/rangecoder/range_decoder.h b/src/liblzma/rangecoder/range_decoder.h
index 4c09eeae..e70d73ef 100644
--- a/src/liblzma/rangecoder/range_decoder.h
+++ b/src/liblzma/rangecoder/range_decoder.h
@@ -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