changeset 2508:f5bdd6ed298e

Due to previously added version check, we need to initialize a variable to appease the compiler.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 29 Apr 2020 01:26:13 +0300
parents 5c1e3744434b
children 0c0576544d41
files minijss/jloadxm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/minijss/jloadxm.c	Wed Apr 29 01:21:51 2020 +0300
+++ b/minijss/jloadxm.c	Wed Apr 29 01:26:13 2020 +0300
@@ -320,7 +320,7 @@
     for (index = 0; index < module->npatterns; index++)
     {
         off_t remainder, pos = dmftell(inFile);
-        Uint32 headSize;
+        Uint32 headSize = 0;
 
         // Get the pattern header size and packing
         if (!dmf_read_le32(inFile, &xmP.headSize) ||