From 32501603c71fa61bc14ba38e5646c8ba16c27e6e Mon Sep 17 00:00:00 2001 From: Blaise Sanouillet <43636048+blezsan@users.noreply.github.com> Date: Fri, 28 Sep 2018 09:53:14 -0700 Subject: support custom block sizes: fix usage message & remove unused functions --- programs/lz4cli.c | 2 +- programs/lz4io.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/lz4cli.c b/programs/lz4cli.c index 759f336..3709f50 100644 --- a/programs/lz4cli.c +++ b/programs/lz4cli.c @@ -134,7 +134,7 @@ static int usage_advanced(const char* exeName) DISPLAY( " -r : operate recursively on directories (sets also -m) \n"); #endif DISPLAY( " -l : compress using Legacy format (Linux kernel compression)\n"); - DISPLAY( " -B# : cut file into independent blocks of size # bytes [32+] \n"); + DISPLAY( " -B# : cut file into blocks of size # bytes [32+] \n"); DISPLAY( " or predefined block size [4-7] (default: 7) \n"); DISPLAY( " -BD : Block dependency (improve compression ratio) \n"); DISPLAY( " -BX : enable block checksum (default:disabled) \n"); diff --git a/programs/lz4io.c b/programs/lz4io.c index bec3ae4..a35928d 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -256,7 +256,6 @@ void LZ4IO_setRemoveSrcFile(unsigned flag) { g_removeSrcFile = (flag>0); } ** ********************** LZ4 File / Pipe compression ********************* ** ** ************************************************************************ */ -static int LZ4IO_GetBlockSize_FromBlockId (int id) { return (1 << (8 + (2 * id))); } static int LZ4IO_isSkippableMagicNumber(unsigned int magic) { return (magic & LZ4IO_SKIPPABLEMASK) == LZ4IO_SKIPPABLE0; } -- cgit v0.12