summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-04 16:20:21 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-04 16:20:21 (GMT)
commitd38b0b607f837bdf9ac32da74e04fc62a347cf92 (patch)
tree39d3cafaca3914a0085e36e76f26294a87c2cb43
parent979a991badffa8359232a6b7b74756a9821d2053 (diff)
parentdd699026e6680e1828f5f00c1929861e0cdc471e (diff)
downloadlz4-d38b0b607f837bdf9ac32da74e04fc62a347cf92.zip
lz4-d38b0b607f837bdf9ac32da74e04fc62a347cf92.tar.gz
lz4-d38b0b607f837bdf9ac32da74e04fc62a347cf92.tar.bz2
Merge pull request #73 from funcodeio/dev
Removed unused lines.
-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);