From: Yann Collet Date: Sat, 19 Aug 2017 08:23:49 +0000 (-0700) Subject: fixed unused variables warnings X-Git-Tag: v1.3.1^2~5^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F802%2Fhead;p=thirdparty%2Fzstd.git fixed unused variables warnings --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 4c551c154..d2bbf5d8a 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -701,7 +701,7 @@ int main(int argCount, const char* argv[]) BMK_setNbSeconds(bench_nbSeconds); BMK_benchFiles(filenameTable, filenameIdx, dictFileName, cLevel, cLevelLast, &compressionParams, setRealTimePrio); #endif - (void)bench_nbSeconds; + (void)bench_nbSeconds; (void)blockSize; (void)setRealTimePrio; goto _end; } @@ -772,6 +772,7 @@ int main(int argCount, const char* argv[]) else operationResult = FIO_compressMultipleFilenames(filenameTable, filenameIdx, outFileName ? outFileName : suffix, dictFileName, cLevel, &compressionParams); #else + (void)suffix; DISPLAY("Compression not supported\n"); #endif } else { /* decompression or test */