]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed minor gcc warning on a unused variable
authorYann Collet <cyan@fb.com>
Thu, 20 Sep 2018 20:00:11 +0000 (13:00 -0700)
committerYann Collet <cyan@fb.com>
Thu, 20 Sep 2018 20:00:11 +0000 (13:00 -0700)
programs/zstdcli.c
tests/playTests.sh

index 36140c4963c6104250d1a075557a483ce0ff4f1e..253bb0d060c7d302af522805755bf37a38ce8c60 100644 (file)
@@ -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 */
index 4e543aaa05dace6685fc493c72d8fae3279c7c49..5898d183f927e580c4739d8cac3fefc69db2a6dc 100755 (executable)
@@ -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*