From: Blaise Sanouillet <43636048+blezsan@users.noreply.github.com> Date: Fri, 28 Sep 2018 16:53:14 +0000 (-0700) Subject: support custom block sizes: fix usage message & remove unused functions X-Git-Tag: upstream/1.9.3~5^2~60^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32501603c71fa61bc14ba38e5646c8ba16c27e6e;p=platform%2Fupstream%2Flz4.git support custom block sizes: fix usage message & remove unused functions --- 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; }