Removed unused lines.
authorYongwoon Cho <yongwoon@gmail.com>
Fri, 3 Apr 2015 02:52:50 +0000 (11:52 +0900)
committerneo <neo@prestolabs.io>
Fri, 3 Apr 2015 02:55:04 +0000 (11:55 +0900)
programs/lz4io.c

index 02e03c8..e526a95 100644 (file)
@@ -587,8 +587,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;
@@ -599,7 +597,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);