From 717631b9788dc9c100ee0c87d3c14a2782638ff4 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 6 Mar 2022 16:54:23 +0200 Subject: 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(-) (limited to 'src/liblzma/api/lzma') 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 */ -- cgit v1.2.3