Mercurial > hg > dmlib
diff tools/lib64gfx.c @ 1600:e28e67358ff6
Fix some uninitialized variable warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 May 2018 08:47:19 +0300 |
parents | 501e31f11c29 |
children | ed5ccf00b959 |
line wrap: on
line diff
--- a/tools/lib64gfx.c Mon May 14 07:45:25 2018 +0300 +++ b/tools/lib64gfx.c Mon May 14 08:47:19 2018 +0300 @@ -612,8 +612,8 @@ { const DMC64EncDecOp *op = fmtGetEncDecOp(fmt, i); const Uint8 *src; - DMC64MemBlock *blk; - char *blkname; + DMC64MemBlock *blk = NULL; + char *blkname = NULL; size_t size; // Check for last operator @@ -773,8 +773,8 @@ { const DMC64EncDecOp *op = fmtGetEncDecOp(fmt, i); size_t size, chksize; - const DMC64MemBlock *blk; - char *blkname; + const DMC64MemBlock *blk = NULL; + char *blkname = NULL; // Check for last operator if (op->type == DT_LAST)