diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-23 21:55:22 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-24 10:58:04 +0200 |
commit | 6997e0b5e2339025646cfaec13a3317fb340729b (patch) | |
tree | 57e908826b4fd43154a54653a7dbf3699250d4a7 /src | |
parent | liblzma: Fix invalid free() after memory allocation failure. (diff) | |
download | xz-6997e0b5e2339025646cfaec13a3317fb340729b.tar.xz |
liblzma: Add lzma_attr_warn_unused_result to lzma_filters_copy().
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/api/lzma/filter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liblzma/api/lzma/filter.h b/src/liblzma/api/lzma/filter.h index 04825c65..5ec9976d 100644 --- a/src/liblzma/api/lzma/filter.h +++ b/src/liblzma/api/lzma/filter.h @@ -120,7 +120,8 @@ extern LZMA_API(lzma_bool) lzma_filter_decoder_is_supported(lzma_vli id) */ extern LZMA_API(lzma_ret) lzma_filters_copy( const lzma_filter *src, lzma_filter *dest, - const lzma_allocator *allocator) lzma_nothrow; + const lzma_allocator *allocator) + lzma_nothrow lzma_attr_warn_unused_result; /** |