summaryrefslogtreecommitdiff
path: root/apps/plugins/mikmod/load_far.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-03 23:54:43 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-03 23:54:43 +0000
commit6cb5ec1bfef3ca621a1de8e3f7dda0f333407961 (patch)
treebffdc904dc164b364e5e2d8be6e5e006806d98e7 /apps/plugins/mikmod/load_far.c
parentbd9c172b9eba76f22987096662467917abdc6b85 (diff)
downloadrockbox-6cb5ec1bfef3ca621a1de8e3f7dda0f333407961.tar.gz
rockbox-6cb5ec1bfef3ca621a1de8e3f7dda0f333407961.zip
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
Diffstat (limited to 'apps/plugins/mikmod/load_far.c')
-rw-r--r--apps/plugins/mikmod/load_far.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mikmod/load_far.c b/apps/plugins/mikmod/load_far.c
index bbb3c39d91..a45e207737 100644
--- a/apps/plugins/mikmod/load_far.c
+++ b/apps/plugins/mikmod/load_far.c
@@ -238,12 +238,12 @@ int FAR_Load(int curious)
238 if(!AllocPatterns()) return 0; 238 if(!AllocPatterns()) return 0;
239 239
240 for(t=0;t<of.numpat;t++) { 240 for(t=0;t<of.numpat;t++) {
241 UBYTE rows=0,tempo; 241 UBYTE rows=0/* ,tempo */;
242 242
243 memset(pat,0,256*16*4*sizeof(FARNOTE)); 243 memset(pat,0,256*16*4*sizeof(FARNOTE));
244 if(mh2->patsiz[t]) { 244 if(mh2->patsiz[t]) {
245 rows = _mm_read_UBYTE(modreader); 245 rows = _mm_read_UBYTE(modreader);
246 tempo = _mm_read_UBYTE(modreader); 246 /* tempo = */ (void)_mm_read_UBYTE(modreader);
247 247
248 crow = pat; 248 crow = pat;
249 /* file often allocates 64 rows even if there are less in pattern */ 249 /* file often allocates 64 rows even if there are less in pattern */