From f12ce0f23a0496daebc77e8359309bf724ad5e8a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 6 Mar 2022 16:54:23 +0200 Subject: [PATCH] liblzma: Fix docs: lzma_block_decoder() cannot return LZMA_UNSUPPORTED_CHECK. If Check is unsupported, it will be silently ignored. It's the caller's job to handle it. --- src/liblzma/api/lzma/block.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/liblzma/api/lzma/block.h b/src/liblzma/api/lzma/block.h index 962f3877..082e5583 100644 --- a/src/liblzma/api/lzma/block.h +++ b/src/liblzma/api/lzma/block.h @@ -464,9 +464,6 @@ extern LZMA_API(lzma_ret) lzma_block_encoder( * LZMA_FINISH is not required. It is supported only for convenience. * * \return - LZMA_OK: All good, continue with lzma_code(). - * - LZMA_UNSUPPORTED_CHECK: Initialization was successful, but - * the given Check ID is not supported, thus Check will be - * ignored. * - LZMA_PROG_ERROR * - LZMA_MEM_ERROR */