aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2012-04-19 15:25:26 +0300
committerLasse Collin <lasse.collin@tukaani.org>2012-05-24 19:16:14 +0300
commit7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565 (patch)
treea4ad61b743ac4af47896da65735f6b29aa8860ec
parentDOS: Link against DJGPP's libemu to support FPU emulation. (diff)
downloadxz-7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565.tar.xz
liblzma: Remove outdated comments.
-rw-r--r--src/liblzma/simple/simple_coder.c3
-rw-r--r--src/liblzma/simple/simple_private.h3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/liblzma/simple/simple_coder.c b/src/liblzma/simple/simple_coder.c
index 37de7fa1..9e7bc289 100644
--- a/src/liblzma/simple/simple_coder.c
+++ b/src/liblzma/simple/simple_coder.c
@@ -35,9 +35,6 @@ copy_or_code(lzma_coder *coder, lzma_allocator *allocator,
} else {
// Call the next coder in the chain to provide us some data.
- // We don't care about uncompressed_size here, because
- // the next filter in the chain will do it for us (since
- // we don't change the size of the data).
const lzma_ret ret = coder->next.code(
coder->next.coder, allocator,
in, in_pos, in_size,
diff --git a/src/liblzma/simple/simple_private.h b/src/liblzma/simple/simple_private.h
index a69f8278..fcf9f7c1 100644
--- a/src/liblzma/simple/simple_private.h
+++ b/src/liblzma/simple/simple_private.h
@@ -22,8 +22,7 @@ struct lzma_coder_s {
/// Next filter in the chain
lzma_next_coder next;
- /// True if the next coder in the chain has returned LZMA_STREAM_END
- /// or if we have processed uncompressed_size bytes.
+ /// True if the next coder in the chain has returned LZMA_STREAM_END.
bool end_was_reached;
/// True if filter() should encode the data; false to decode.