diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:17:42 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:17:42 +0000 |
commit | e2186479d56762d097b943696423ad8588ca7f92 (patch) | |
tree | 833fb9909a1842e1eb216a695d7bc507855be4e5 /apps/plugins/mikmod/load_stm.c | |
parent | 7887e596a99fcaf2198d624bfedf5e2ad97a49cd (diff) | |
download | rockbox-e2186479d56762d097b943696423ad8588ca7f92.tar.gz rockbox-e2186479d56762d097b943696423ad8588ca7f92.zip |
FS#12259: Remove '-w' compiler option for MikMod. Resolve all yet unreported compiler warnings and fix a bug in load_gt2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30424 a1c6a512-1295-4272-9138-f99709370657
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); |