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
|
@ -1527,7 +1527,10 @@ static int sokoban_menu(void)
|
|||
static bool sokoban_loop(void)
|
||||
{
|
||||
bool moved;
|
||||
int i = 0, button = 0, lastbutton = 0;
|
||||
int i = 0, button = 0;
|
||||
#if defined(SOKOBAN_UNDO_PRE)
|
||||
int lastbutton = 0;
|
||||
#endif
|
||||
int w, h;
|
||||
char *loc;
|
||||
|
||||
|
@ -1629,8 +1632,9 @@ static bool sokoban_loop(void)
|
|||
return PLUGIN_USB_CONNECTED;
|
||||
break;
|
||||
}
|
||||
|
||||
#if defined(SOKOBAN_UNDO_PRE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
|
||||
if (moved) {
|
||||
rb->lcd_clear_display();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue