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-23 21:55:22 +0200 |
commit | 48c1b99dc537a27e1ca929d8837e778e5ba32191 (patch) | |
tree | 52bc74203b3330f6dbce12ccc753e1120efa5c37 /src | |
parent | liblzma: Fix invalid free() after memory allocation failure. (diff) | |
download | xz-48c1b99dc537a27e1ca929d8837e778e5ba32191.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; /** |