]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed unused variables warnings 802/head
authorYann Collet <cyan@fb.com>
Sat, 19 Aug 2017 08:23:49 +0000 (01:23 -0700)
committerYann Collet <cyan@fb.com>
Sat, 19 Aug 2017 08:23:49 +0000 (01:23 -0700)
programs/zstdcli.c

index 4c551c15404fb5e7e2b52b8cc02c69fd41616141..d2bbf5d8af0fe7f37c5d4bea4a92ab6fa525b6dd 100644 (file)
@@ -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 */