From 313f65609f30c33fcc0dd64eefd9a8887f2fafd4 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 9 Aug 2018 17:14:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=20Remove=20unneeded=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 2948420..bbddada 100644 --- a/src/main.c +++ b/src/main.c @@ -52,7 +52,6 @@ int main(int argc, unsigned char *argv[]) { fprintf(stderr, "Could not allocate %lu bytes for compressed buffer.\n", BUFFER_SIZE); exit(1); } - //memset(compressedChunk, (uint8_t)0, BUFFER_SIZE); uint8_t* uncompressedChunk = malloc(BUFFER_SIZE); if (uncompressedChunk == NULL) { @@ -98,7 +97,6 @@ int main(int argc, unsigned char *argv[]) { while (remainingBytes > 0 || !hasReachedEnd) { if (needToRead) { chunkSize = min(BUFFER_SIZE - uncompressedPosition, remainingBytes); - //memset(compressedChunk, 0, chunkSize); getBytes(compressedChunk, chunkSize); remainingBytes -= chunkSize;