Mercurial > hg > dmlib
diff tools/packed.c @ 2414:69a5af2eb1ea
Remove useless dmMemset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 23:27:01 +0200 |
parents | bc05bcfc4598 |
children | 0b18f597351a |
line wrap: on
line diff
--- a/tools/packed.c Mon Jan 13 23:20:56 2020 +0200 +++ b/tools/packed.c Mon Jan 13 23:27:01 2020 +0200 @@ -345,7 +345,7 @@ if (compress) { int zret; - dmMemset(&zstr, 0, sizeof(zstr)); + memset(&zstr, 0, sizeof(zstr)); if (deflateInit(&zstr, level) != Z_OK) { ret = DMERR_COMPRESSION; @@ -462,7 +462,7 @@ // Read and uncompress the data, if needed if (decompress || (entry->flags & DMF_COMPRESSED) == 0) { - dmMemset(&zstr, 0, sizeof(zstr)); + memset(&zstr, 0, sizeof(zstr)); if (inflateInit(&zstr) != Z_OK) { ret = DMERR_COMPRESSION;