From 2ecd34ee5efaece2b76a872dc4f02b7eaaa053d5 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 19 Aug 2017 01:23:49 -0700 Subject: [PATCH] fixed unused variables warnings --- programs/zstdcli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */