aboutsummaryrefslogtreecommitdiff
path: root/src/lzma/process.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-14 13:34:29 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-14 13:34:29 +0200
commitb59ef3973781f892c0a72b5e5934194567100be5 (patch)
treea38792421145504bf79bfbce9a0893e376e5a594 /src/lzma/process.c
parentDon't use coder->lz.stream_end_was_reached in assertions (diff)
downloadxz-b59ef3973781f892c0a72b5e5934194567100be5.tar.xz
Added one assert() to process.c of the command line tool.
Diffstat (limited to 'src/lzma/process.c')
-rw-r--r--src/lzma/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lzma/process.c b/src/lzma/process.c
index 18181826..56bcda9a 100644
--- a/src/lzma/process.c
+++ b/src/lzma/process.c
@@ -273,6 +273,7 @@ single(thread_data *t)
if (ret != LZMA_OK) {
if (ret == LZMA_STREAM_END) {
if (opt_mode == MODE_COMPRESS) {
+ assert(t->pair->src_eof);
success = true;
break;
}