diff --git a/programs/fileio.c b/programs/fileio.c index 6b5f80ff4..430127771 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -419,10 +419,11 @@ static int FIO_compressFilename_internal(cRess_t ress, #ifdef ZSTD_GZCOMPRESS compressedfilesize = FIO_compressGzFrame(&ress, srcFileName, fileSize, compressionLevel, &readsize); // printf("g_compresionType=%d compressionLevel=%d compressedfilesize=%d\n", g_compresionType, compressionLevel, (int)compressedfilesize); - goto finish; #else + (void)compressionLevel; EXM_THROW(20, "zstd: %s: file cannot be compressed as gzip (zstd compiled without ZSTD_GZCOMPRESS) -- ignored \n", srcFileName); #endif + goto finish; } /* init */ diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 08e169ed8..30aa0b949 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -125,7 +125,7 @@ static int usage_advanced(const char* programName) DISPLAY( " -B# : select size of independent sections (default:0==automatic) \n"); #endif #ifdef ZSTD_GZCOMPRESS - DISPLAY( "--format=gzip : output .gz files \n"); + DISPLAY( "--format=gzip : compress files to the .gz format \n"); #endif #endif #ifndef ZSTD_NODECOMPRESS