Added one assert() to process.c of the command line tool.

This commit is contained in:
Lasse Collin 2008-01-14 13:34:29 +02:00
parent 9547e734a0
commit b59ef39737
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ single(thread_data *t)
if (ret != LZMA_OK) { if (ret != LZMA_OK) {
if (ret == LZMA_STREAM_END) { if (ret == LZMA_STREAM_END) {
if (opt_mode == MODE_COMPRESS) { if (opt_mode == MODE_COMPRESS) {
assert(t->pair->src_eof);
success = true; success = true;
break; break;
} }