forked from len0rd/rockbox
Fix nearly all residual 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29810 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f7c4594134
commit
27d153db93
11 changed files with 63 additions and 11 deletions
|
@ -1332,7 +1332,9 @@ static int rockblox_menu(void)
|
|||
static int rockblox_loop (void)
|
||||
{
|
||||
int button;
|
||||
#if defined(ROCKBLOX_OFF_PRE) || defined(ROCKBLOX_DROP_PRE)
|
||||
int lastbutton = BUTTON_NONE;
|
||||
#endif
|
||||
long next_down_tick = *rb->current_tick + level_speed(rockblox_status.level);
|
||||
|
||||
if (rockblox_menu()) {
|
||||
|
@ -1450,8 +1452,10 @@ static int rockblox_loop (void)
|
|||
return PLUGIN_USB_CONNECTED;
|
||||
break;
|
||||
}
|
||||
#if defined(ROCKBLOX_OFF_PRE) || defined(ROCKBLOX_DROP_PRE)
|
||||
if (button != BUTTON_NONE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SCROLLWHEEL
|
||||
/* check if we should enable the scroll wheel, if events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue