liblzma: Add lzma_attr_warn_unused_result to lzma_filters_copy().

This commit is contained in:
Lasse Collin 2022-11-23 21:55:22 +02:00
parent 10430fbf38
commit 48c1b99dc5
1 changed files with 2 additions and 1 deletions

View File

@ -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;
/**