aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lz
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-06-24 22:47:39 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-06-24 22:50:36 +0300
commit608517b9b76c41fac6613dbda1193d6f41338e19 (patch)
tree90da71f23c6f439a8f26a3b2fd57ffb17fdcfa0e /src/liblzma/lz
parentTests: Silence a warning from -Wsign-conversion. (diff)
downloadxz-608517b9b76c41fac6613dbda1193d6f41338e19.tar.xz
liblzma: Remove incorrect uses of lzma_attribute((__unused__)).
Caught by clang -Wused-but-marked-unused.
Diffstat (limited to 'src/liblzma/lz')
-rw-r--r--src/liblzma/lz/lz_decoder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/liblzma/lz/lz_decoder.c b/src/liblzma/lz/lz_decoder.c
index 6c9024e2..09b57438 100644
--- a/src/liblzma/lz/lz_decoder.c
+++ b/src/liblzma/lz/lz_decoder.c
@@ -131,8 +131,7 @@ decode_buffer(lzma_coder *coder,
static lzma_ret
-lz_decode(void *coder_ptr,
- const lzma_allocator *allocator lzma_attribute((__unused__)),
+lz_decode(void *coder_ptr, const lzma_allocator *allocator,
const uint8_t *restrict in, size_t *restrict in_pos,
size_t in_size, uint8_t *restrict out,
size_t *restrict out_pos, size_t out_size,