Remove several 'set but not used' GCC 4.6.1 warnings from MikMod.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30426 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-09-03 23:54:43 +00:00
parent bd9c172b9e
commit 6cb5ec1bfe
4 changed files with 9 additions and 11 deletions

View file

@ -446,7 +446,7 @@ int IT_Load(int curious)
int t,u,lp;
INSTRUMENT *d;
SAMPLE *q;
int compressed=0;
/* int compressed=0; */
numtrk=0;
filters=0;
@ -672,7 +672,7 @@ int IT_Load(int curious)
if(s.flag&2) q->flags|=SF_16BITS;
if((s.flag&8)&&(mh->cwt>=0x214)) {
q->flags|=SF_ITPACKED;
compressed=1;
/* compressed=1; */
}
if(s.flag&16) q->flags|=SF_LOOP;
if(s.flag&64) q->flags|=SF_BIDI;
@ -963,8 +963,6 @@ int IT_Load(int curious)
if(!AllocTracks()) return 0;
for(t=0;t<of.numpat;t++) {
UWORD packlen;
/* seek to pattern position */
if(!paraptr[mh->insnum+mh->smpnum+t]) { /* 0 -> empty 64 row pattern */
of.pattrows[t]=64;
@ -977,7 +975,7 @@ int IT_Load(int curious)
}
} else {
_mm_fseek(modreader,((long)paraptr[mh->insnum+mh->smpnum+t]),SEEK_SET);
packlen=_mm_read_I_UWORD(modreader);
(void)_mm_read_I_UWORD(modreader);
of.pattrows[t]=_mm_read_I_UWORD(modreader);
_mm_read_I_ULONG(modreader);
if(!IT_ReadPattern(of.pattrows[t])) return 0;