diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 21:06:38 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 21:06:38 +0000 |
commit | 67f215032d8bab2571aad2da739d72512c064ca4 (patch) | |
tree | b39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/doom/hu_lib.c | |
parent | ab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff) | |
download | rockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz rockbox-67f215032d8bab2571aad2da739d72512c064ca4.zip |
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/hu_lib.c')
-rw-r--r-- | apps/plugins/doom/hu_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/hu_lib.c b/apps/plugins/doom/hu_lib.c index df2fa883ec..eacb26b287 100644 --- a/apps/plugins/doom/hu_lib.c +++ b/apps/plugins/doom/hu_lib.c | |||
@@ -532,7 +532,7 @@ void HUlib_drawMBg | |||
532 | // | 532 | // |
533 | void HUlib_drawMText(hu_mtext_t* m) | 533 | void HUlib_drawMText(hu_mtext_t* m) |
534 | { | 534 | { |
535 | int i, idx, y; | 535 | int i, idx; |
536 | hu_textline_t *l; | 536 | hu_textline_t *l; |
537 | 537 | ||
538 | if (!*m->on) | 538 | if (!*m->on) |
@@ -541,7 +541,7 @@ void HUlib_drawMText(hu_mtext_t* m) | |||
541 | // draw everything | 541 | // draw everything |
542 | if (hud_list_bgon) | 542 | if (hud_list_bgon) |
543 | HUlib_drawMBg(m->x,m->y,m->w,m->h,m->bg); | 543 | HUlib_drawMBg(m->x,m->y,m->w,m->h,m->bg); |
544 | y = m->y + HU_REFRESHSPACING; | 544 | |
545 | for (i=0 ; i<m->nl ; i++) | 545 | for (i=0 ; i<m->nl ; i++) |
546 | { | 546 | { |
547 | idx = m->cl - i; | 547 | idx = m->cl - i; |