🗑 Remove unneeded code

This commit is contained in:
C-3PO 2018-08-09 17:14:42 +02:00
parent 9353111085
commit 313f65609f
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -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;