From 67f215032d8bab2571aad2da739d72512c064ca4 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 8 May 2011 21:06:38 +0000 Subject: 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 --- apps/plugins/doom/hu_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/doom/hu_lib.c') 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 ; inl ; i++) { idx = m->cl - i; -- cgit v1.1