mirror of https://git.tukaani.org/xz.git
Added one assert() to process.c of the command line tool.
This commit is contained in:
parent
9547e734a0
commit
b59ef39737
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue