Mercurial > hg > dmlib
comparison src/dmres.c @ 2414:69a5af2eb1ea
Remove useless dmMemset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 23:27:01 +0200 |
parents | 147d40b708ea |
children | f7d54ac51880 |
comparison
equal
deleted
inserted
replaced
2413:902cc22018a1 | 2414:69a5af2eb1ea |
---|---|
380 ret = DMERR_MALLOC; | 380 ret = DMERR_MALLOC; |
381 goto out; | 381 goto out; |
382 } | 382 } |
383 | 383 |
384 // Initialize decompression | 384 // Initialize decompression |
385 dmMemset(&zstr, 0, sizeof(zstr)); | 385 memset(&zstr, 0, sizeof(zstr)); |
386 zstr.next_out = handle->rawData; | 386 zstr.next_out = handle->rawData; |
387 zstr.avail_out = handle->rawSize; | 387 zstr.avail_out = handle->rawSize; |
388 cdataLeft = node->length; | 388 cdataLeft = node->length; |
389 | 389 |
390 if ((zret = inflateInit(&zstr)) != Z_OK) | 390 if ((zret = inflateInit(&zstr)) != Z_OK) |