changeset 1600:e28e67358ff6

Fix some uninitialized variable warnings.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 14 May 2018 08:47:19 +0300
parents 9c3dd6f8dbda
children a3023fe79c43
files tools/lib64gfx.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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)