diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-14 13:34:29 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-14 13:34:29 +0200 |
commit | b59ef3973781f892c0a72b5e5934194567100be5 (patch) | |
tree | a38792421145504bf79bfbce9a0893e376e5a594 /src/lzma | |
parent | Don't use coder->lz.stream_end_was_reached in assertions (diff) | |
download | xz-b59ef3973781f892c0a72b5e5934194567100be5.tar.xz |
Added one assert() to process.c of the command line tool.
Diffstat (limited to 'src/lzma')
-rw-r--r-- | src/lzma/process.c | 1 |
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; } |