aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-04-13 20:45:19 +0800
committerJia Tan <jiat0218@gmail.com>2023-04-25 20:19:10 +0800
commit8204c5d1304e1e3b7487801b4acaf8e3179a6c52 (patch)
tree00cae3c905132ca619c506619cb646e85a99e867 /src
parentCMake: Update liblzma-config.cmake generation. (diff)
downloadxz-8204c5d1304e1e3b7487801b4acaf8e3179a6c52.tar.xz
liblzma: Cleans up old commented out code.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/alone_encoder.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/liblzma/common/alone_encoder.c b/src/liblzma/common/alone_encoder.c
index c9392f37..7d3812fa 100644
--- a/src/liblzma/common/alone_encoder.c
+++ b/src/liblzma/common/alone_encoder.c
@@ -75,7 +75,6 @@ alone_encoder_end(void *coder_ptr, const lzma_allocator *allocator)
}
-// At least for now, this is not used by any internal function.
static lzma_ret
alone_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator,
const lzma_options_lzma *options)
@@ -141,16 +140,6 @@ alone_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator,
}
-/*
-extern lzma_ret
-lzma_alone_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator,
- const lzma_options_alone *options)
-{
- lzma_next_coder_init(&alone_encoder_init, next, allocator, options);
-}
-*/
-
-
extern LZMA_API(lzma_ret)
lzma_alone_encoder(lzma_stream *strm, const lzma_options_lzma *options)
{