From: Yann Collet Date: Sat, 2 Dec 2017 01:42:46 +0000 (-0800) Subject: zstdcli: fixed minor warning when bench module not enabled X-Git-Tag: v1.3.3^2~21^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71f012e5bfbebe91ca89d9fcc5700a26f0dadc87;p=thirdparty%2Fzstd.git zstdcli: fixed minor warning when bench module not enabled one variable defined but not used --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 91af49e24..8b4186207 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -773,8 +773,9 @@ int main(int argCount, const char* argv[]) BMK_setLdmHashEveryLog(g_ldmHashEveryLog); } BMK_benchFiles(filenameTable, filenameIdx, dictFileName, cLevel, cLevelLast, &compressionParams); +#else + (void)bench_nbSeconds; (void)blockSize; (void)setRealTimePrio; (void)separateFiles; #endif - (void)bench_nbSeconds; (void)blockSize; (void)setRealTimePrio; goto _end; }