diff options
Diffstat (limited to 'apps/plugins/mikmod/load_stm.c')
-rw-r--r-- | apps/plugins/mikmod/load_stm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/load_stm.c b/apps/plugins/mikmod/load_stm.c index 57df85c92d..c1d771df11 100644 --- a/apps/plugins/mikmod/load_stm.c +++ b/apps/plugins/mikmod/load_stm.c | |||
@@ -224,7 +224,8 @@ static UBYTE *STM_ConvertTrack(STMNOTE *n) | |||
224 | 224 | ||
225 | static int STM_LoadPatterns(void) | 225 | static int STM_LoadPatterns(void) |
226 | { | 226 | { |
227 | int t,s,tracks=0; | 227 | int t,tracks=0; |
228 | unsigned int s; | ||
228 | 229 | ||
229 | if(!AllocPatterns()) return 0; | 230 | if(!AllocPatterns()) return 0; |
230 | if(!AllocTracks()) return 0; | 231 | if(!AllocTracks()) return 0; |
@@ -254,6 +255,7 @@ int STM_Load(int curious) | |||
254 | int t; | 255 | int t; |
255 | ULONG MikMod_ISA; /* We must generate our own ISA, it's not stored in stm */ | 256 | ULONG MikMod_ISA; /* We must generate our own ISA, it's not stored in stm */ |
256 | SAMPLE *q; | 257 | SAMPLE *q; |
258 | (void)curious; | ||
257 | 259 | ||
258 | /* try to read stm header */ | 260 | /* try to read stm header */ |
259 | _mm_read_string(mh->songname,20,modreader); | 261 | _mm_read_string(mh->songname,20,modreader); |