aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-04-13 20:45:19 +0800
committerLasse Collin <lasse.collin@tukaani.org>2023-05-03 22:33:10 +0300
commit0ab5527c469dd632a2a78f12675cad3b980e2e44 (patch)
treea4caf53825b8785f773be6624739245da0b2f460 /src
parentBuild: Removes redundant check for LZMA1 filter support. (diff)
downloadxz-0ab5527c469dd632a2a78f12675cad3b980e2e44.tar.xz
liblzma: Cleans up old commented out code.
Diffstat (limited to 'src')
-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 96c1db70..1559b64f 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)
@@ -140,16 +139,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)
{