summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--programs/lz4io.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index 0a8132a..991d9d7 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -588,8 +588,6 @@ static unsigned long long decodeLZ4S(FILE* finput, FILE* foutput)
unsigned long long filesize = 0;
void* inBuff;
void* outBuff;
-# define HEADERMAX 20
- char headerBuff[HEADERMAX];
size_t sizeCheck;
const size_t inBuffSize = 256 KB;
const size_t outBuffSize = 256 KB;
@@ -600,7 +598,6 @@ static unsigned long long decodeLZ4S(FILE* finput, FILE* foutput)
/* init */
errorCode = LZ4F_createDecompressionContext(&ctx, LZ4F_VERSION);
if (LZ4F_isError(errorCode)) EXM_THROW(60, "Can't create context : %s", LZ4F_getErrorName(errorCode));
- LZ4IO_writeLE32(headerBuff, LZ4IO_MAGICNUMBER); /* regenerated here, as it was already read from finput */
/* Allocate Memory */
inBuff = malloc(256 KB);