From: Yann Collet Date: Thu, 20 Sep 2018 20:00:11 +0000 (-0700) Subject: fixed minor gcc warning on a unused variable X-Git-Tag: v1.3.6^2~19^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15519479ba2b6387952b95f9404329529e473581;p=thirdparty%2Fzstd.git fixed minor gcc warning on a unused variable --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 36140c496..253bb0d06 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -1014,7 +1014,7 @@ int main(int argCount, const char* argv[]) else operationResult = FIO_compressMultipleFilenames(filenameTable, filenameIdx, outFileName, suffix, dictFileName, cLevel, compressionParams); #else - (void)suffix; + (void)suffix; (void)adapt; DISPLAY("Compression not supported\n"); #endif } else { /* decompression or test */ diff --git a/tests/playTests.sh b/tests/playTests.sh index 4e543aaa0..5898d183f 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -904,7 +904,7 @@ $ZSTD -o tmpDict --train-cover *.c ../programs/*.c test -f tmpDict $ZSTD --train-cover *.c ../programs/*.c test -f dictionary -rm tmp* dictionary +rm -f tmp* dictionary -rm tmp* +rm -f tmp*