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.zip rockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz rockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.bz2 rockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.xz | |
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 df2fa88..eacb26b 100644 --- a/apps/plugins/doom/hu_lib.c +++ b/apps/plugins/doom/hu_lib.c @@ -532,7 +532,7 @@ void HUlib_drawMBg // void HUlib_drawMText(hu_mtext_t* m) { - int i, idx, y; + int i, idx; hu_textline_t *l; if (!*m->on) @@ -541,7 +541,7 @@ void HUlib_drawMText(hu_mtext_t* m) // draw everything if (hud_list_bgon) HUlib_drawMBg(m->x,m->y,m->w,m->h,m->bg); - y = m->y + HU_REFRESHSPACING; + for (i=0 ; i<m->nl ; i++) { idx = m->cl - i; |