From: Lasse Collin Date: Mon, 14 Jan 2008 11:34:29 +0000 (+0200) Subject: Added one assert() to process.c of the command line tool. X-Git-Tag: upstream/5.1.3~850 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b59ef3973781f892c0a72b5e5934194567100be5;p=platform%2Fupstream%2Fxz.git Added one assert() to process.c of the command line tool. --- diff --git a/src/lzma/process.c b/src/lzma/process.c index 1818182..56bcda9 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; }