From 6cb5ec1bfef3ca621a1de8e3f7dda0f333407961 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 3 Sep 2011 23:54:43 +0000 Subject: 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 --- apps/plugins/mikmod/load_it.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'apps/plugins/mikmod/load_it.c') diff --git a/apps/plugins/mikmod/load_it.c b/apps/plugins/mikmod/load_it.c index 842fafe471..7f966339cf 100644 --- a/apps/plugins/mikmod/load_it.c +++ b/apps/plugins/mikmod/load_it.c @@ -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;tinsnum+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; -- cgit v1.2.3