]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
zstdcli: fixed minor warning when bench module not enabled
authorYann Collet <cyan@fb.com>
Sat, 2 Dec 2017 01:42:46 +0000 (17:42 -0800)
committerYann Collet <cyan@fb.com>
Sat, 2 Dec 2017 01:42:46 +0000 (17:42 -0800)
one variable defined but not used

programs/zstdcli.c

index 91af49e2484727bc1d42caeb4a0b22884c726590..8b4186207bd6a4d754797d849e905727aaad31a8 100644 (file)
@@ -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;
     }