forked from len0rd/rockbox
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
This commit is contained in:
parent
ab99e941db
commit
67f215032d
18 changed files with 54 additions and 55 deletions
|
@ -1029,7 +1029,9 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
{
|
||||
bool exit;
|
||||
int button;
|
||||
#if defined(SUDOKU_BUTTON_TOGGLE_PRE) || defined(SUDOKU_BUTTON_MENU_PRE)
|
||||
int lastbutton = BUTTON_NONE;
|
||||
#endif
|
||||
int res;
|
||||
int rc = PLUGIN_OK;
|
||||
long ticks;
|
||||
|
@ -1289,8 +1291,10 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
break;
|
||||
}
|
||||
#if defined(SUDOKU_BUTTON_TOGGLE_PRE) || defined(SUDOKU_BUTTON_MENU_PRE)
|
||||
if (button != BUTTON_NONE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
|
||||
display_board(&state);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue