Mercurial > hg > dmlib
comparison minijss/jloadxm.c @ 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 | 609c6bcf0dac |
children | 0c0576544d41 |
comparison
equal
deleted
inserted
replaced
2507:5c1e3744434b | 2508:f5bdd6ed298e |
---|---|
318 XMPattern xmP; | 318 XMPattern xmP; |
319 | 319 |
320 for (index = 0; index < module->npatterns; index++) | 320 for (index = 0; index < module->npatterns; index++) |
321 { | 321 { |
322 off_t remainder, pos = dmftell(inFile); | 322 off_t remainder, pos = dmftell(inFile); |
323 Uint32 headSize; | 323 Uint32 headSize = 0; |
324 | 324 |
325 // Get the pattern header size and packing | 325 // Get the pattern header size and packing |
326 if (!dmf_read_le32(inFile, &xmP.headSize) || | 326 if (!dmf_read_le32(inFile, &xmP.headSize) || |
327 !dmf_read_byte(inFile, &xmP.packing)) | 327 !dmf_read_byte(inFile, &xmP.packing)) |
328 { | 328 { |