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_uni.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_uni.c')
-rw-r--r-- | apps/plugins/mikmod/load_uni.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/load_uni.c b/apps/plugins/mikmod/load_uni.c index 3140336b94..7a5a24a507 100644 --- a/apps/plugins/mikmod/load_uni.c +++ b/apps/plugins/mikmod/load_uni.c | |||
@@ -504,6 +504,7 @@ int UNI_Load(int curious) | |||
504 | char *modtype,*oldtype=NULL; | 504 | char *modtype,*oldtype=NULL; |
505 | INSTRUMENT *d; | 505 | INSTRUMENT *d; |
506 | SAMPLE *q; | 506 | SAMPLE *q; |
507 | (void)curious; | ||
507 | 508 | ||
508 | /* read module header */ | 509 | /* read module header */ |
509 | _mm_read_UBYTES(mh.id,4,modreader); | 510 | _mm_read_UBYTES(mh.id,4,modreader); |
@@ -514,7 +515,7 @@ int UNI_Load(int curious) | |||
514 | 515 | ||
515 | if(universion>=6) { | 516 | if(universion>=6) { |
516 | if (universion==6) | 517 | if (universion==6) |
517 | _mm_read_UBYTE(modreader); | 518 | (void)_mm_read_UBYTE(modreader); |
518 | else | 519 | else |
519 | universion=_mm_read_M_UWORD(modreader); | 520 | universion=_mm_read_M_UWORD(modreader); |
520 | 521 | ||