diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2019-06-24 22:47:39 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2019-12-31 22:25:02 +0200 |
commit | 0e3c4002f809311ecef239b05e556d9c462b5703 (patch) | |
tree | ebd800010a46c99eac42e52283b9be7139cbd677 /src/liblzma/common/alone_encoder.c | |
parent | Tests: Silence a warning from -Wsign-conversion. (diff) | |
download | xz-0e3c4002f809311ecef239b05e556d9c462b5703.tar.xz |
liblzma: Remove incorrect uses of lzma_attribute((__unused__)).
Caught by clang -Wused-but-marked-unused.
Diffstat (limited to 'src/liblzma/common/alone_encoder.c')
-rw-r--r-- | src/liblzma/common/alone_encoder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/liblzma/common/alone_encoder.c b/src/liblzma/common/alone_encoder.c index 402bebce..c4560d58 100644 --- a/src/liblzma/common/alone_encoder.c +++ b/src/liblzma/common/alone_encoder.c @@ -31,8 +31,7 @@ typedef struct { static lzma_ret -alone_encode(void *coder_ptr, - const lzma_allocator *allocator lzma_attribute((__unused__)), +alone_encode(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, |