From: Yann Collet Date: Thu, 9 Aug 2018 22:57:19 +0000 (-0700) Subject: fixed assert() condition X-Git-Tag: v0.0.29~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=754942cb799fc81a3c590733a1b77958bf74d818;p=thirdparty%2Fzstd.git fixed assert() condition --- diff --git a/programs/fileio.c b/programs/fileio.c index c1587f8f8..39b2c741c 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -783,7 +783,7 @@ FIO_compressZstdFrame(const cRess_t* ressPtr, (U32)(zfp.produced >> 20), cShare ); } else { - assert(g_displayLevel == 2); + /* g_displayLevel <= 2; only display notifications if == 2; */ DISPLAYLEVEL(2, "\rRead : %u ", (U32)(zfp.consumed >> 20)); if (fileSize != UTIL_FILESIZE_UNKNOWN) DISPLAYLEVEL(2, "/ %u ", (U32)(fileSize >> 20));