1
0
Fork 0
forked from len0rd/rockbox

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

@ -238,12 +238,12 @@ int FAR_Load(int curious)
if(!AllocPatterns()) return 0;
for(t=0;t<of.numpat;t++) {
UBYTE rows=0,tempo;
UBYTE rows=0/* ,tempo */;
memset(pat,0,256*16*4*sizeof(FARNOTE));
if(mh2->patsiz[t]) {
rows = _mm_read_UBYTE(modreader);
tempo = _mm_read_UBYTE(modreader);
/* tempo = */ (void)_mm_read_UBYTE(modreader);
crow = pat;
/* file often allocates 64 rows even if there are less in pattern */