1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2011-09-03 23:17:42 +00:00
parent 7887e596a9
commit e2186479d5
27 changed files with 239 additions and 58 deletions

View file

@ -504,6 +504,7 @@ int UNI_Load(int curious)
char *modtype,*oldtype=NULL;
INSTRUMENT *d;
SAMPLE *q;
(void)curious;
/* read module header */
_mm_read_UBYTES(mh.id,4,modreader);
@ -514,7 +515,7 @@ int UNI_Load(int curious)
if(universion>=6) {
if (universion==6)
_mm_read_UBYTE(modreader);
(void)_mm_read_UBYTE(modreader);
else
universion=_mm_read_M_UWORD(modreader);